Pasted text placeholder has broken behavior for longer text

Open 💬 0 comments Opened Feb 7, 2026 by nine15pm

What version of Codex CLI is running?

0.98.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.3-codex

What platform is your computer?

Linux 6.5.0-35-generic x86_64 x86_64

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

VSCode

What issue are you seeing?

When I paste lengthy text into codex CLI input box, the pasted text placeholder has broken behavior in 2 ways:

  1. Pressing backspace duplicates the visual pasted text placeholder 2-3 times (without showing raw text or editing raw text) before then displaying a small part of the raw pasted text.
  2. Pressing enter duplicates the visual pasted text placeholder 2-3 times (without submitting the prompt) before then displaying a small part of the raw text, then submitting the prompt.

What steps can reproduce the bug?

  1. Paste lengthy text into codex prompt input field, e.g. 1024+ characters
  2. Press backspace or enter, doesn't trigger expected result

What is the expected behavior?

  • Pressing backspace once should change pasted text placeholder to raw text to allow for editing
  • Pressing enter once should directly submit the prompt

Additional information

Video of backspace behavior:

https://github.com/user-attachments/assets/bee811ea-031d-4e5d-9e78-36fc65f0330d

Video of enter behavior:

https://github.com/user-attachments/assets/ccc617d2-8e41-4e78-8c99-4efedb78dbf6

View original on GitHub ↗