macOS: Codex in Cursor terminal might receive mangled pasted input

Resolved 💬 3 comments Opened Jan 26, 2026 by emanuelst Closed Jan 26, 2026

What version of Codex is running?

codex-cli 0.91.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.2-codex (current)

What platform is your computer?

Darwin 25.2.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

Cursor (VSCode Version: 1.105.1)

What issue are you seeing?

When pasting a JSON into Codex inside Cursor’s integrated terminal on macOS, the pasted text might be mangled (characters or keys dropped).

Example: a key customerValidationField becomes customerValidatiField (missing “on”).
Same clipboard paste is correct in Terminal.app and VS Code terminal. Logs show the explicit paste payload already missing characters before Codex processes it.

What steps can reproduce the bug?

  1. Open Cursor on macOS and start Codex in the integrated terminal.
  2. Paste a JSON blob.
  3. Observe that some characters or keys are missing from the pasted text.

What is the expected behavior?

Pasted text should be identical to the clipboard content (no dropped or altered characters / keys).

Additional information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗