Add double-Escape to clear composer input in TUI

Resolved 💬 2 comments Opened Mar 13, 2026 by Ray0907 Closed Mar 13, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

CLI

What feature would you like to see?

When composing in TUI, allow "double Esc" to clear the current input quickly:

  • first Esc starts a short timeout window
  • second Esc within the window clears the composer
  • other keys in between cancel the action
  • existing modal/popup Esc behavior remains unchanged

This is a UX/DX improvement for quickly resetting partially typed input.
Related work: I implemented this in my fork on branch Ray0907:feat/double-esc-
clear-composer.

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 5 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #14509

Powered by Codex Action

etraut-openai contributor · 5 months ago

Please upvote #14509