TUI Ctrl+Z Undo Feature
Resolved 💬 2 comments Opened Feb 12, 2026 by Adityakk9031 Closed Feb 12, 2026
What variant of Codex are you using?
latest one
What feature would you like to see?
Feature Request: Add Ctrl/Cmd+Z to restore draft cleared by Ctrl+C in TUI
Component: TUI chat composer (
codex-rs/tui/src/bottom_pane/chat_composer.rs
)
Root Cause: Missing Feature
The root cause is straightforward: there is no code to handle Ctrl+Z. The feature simply doesn't exist yet.
###Current Implementation
File:
codex-rs/tui/src/bottom_pane/chat_composer.rs
Function: ChatComposer::handle_key_event_without_popup (lines 2348-2429)
The function handles various key events but does NOT have any case for Ctrl+Z:
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗