You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Edit Queued Message with Option + Up (⌥↑ edit) Not Working on MacOS terminal or iTerm. #4490
is there anything wrong I might be doing? I usually use iTerm, but tried MacOS Terminal.app, cursor terminal, JetBrains, Warp, and Ghostty and all of them are not working.
Reacted by Ivan Li, omarsakrlaravel, iipanda, Jason Hoelscher-Obermaier, Taekwon Yoo, Martin and Patrick Fürderer-Tosolini
same thing happens for me so I dug into why ⌥↑ (“Alt+Up edit”) is a no-op on macOS terminals where Option isn’t set to send Meta.
Environment: macOS Sequoia 15.6 (24G84) on a 16‑inch MacBook Pro (Nov 2024, Apple M4 Pro, 48 GB RAM), Apple Terminal (default settings), codex-cli 0.42.0 (tui main).
Repro: queue a couple of messages (start a long-running task, hit Enter twice), then press ⌥↑. The status panel shows ⌥↑ edit, but nothing happens.
Raw key capture: running cat -vet and pressing ⌥↑ prints ^[[A, which is the same escape sequence produced by a plain Up arrow. With Option configured to send Meta, the sequence changes to ^[ [ 1 ; 3 A or ^[ [ 1 ; 9 A.
Crossterm behaviour: because the terminal emits ^[[A, crossterm normalizes Up and Option+Up into a single event: KeyEvent { code: KeyCode::Up, modifiers: KeyModifiers::NONE, kind: KeyEventKind::Press, … }.
Codex handling: the edit-queued-message branch in ChatWidget::handle_key_event (codex-rs/tui/src/chatwidget.rs:1023) checks modifiers.contains(KeyModifiers::ALT). With the modifier bit absent, the branch never runs. The chat composer
already consumes bare KeyCode::Up for history navigation (codex-rs/tui/src/bottom_pane/chat_composer.rs:870+), so no edit action is triggered.
Activity
vuyelwadr commentedon Oct 3, 2025
same thing happens for me so I dug into why ⌥↑ (“Alt+Up edit”) is a no-op on macOS terminals where Option isn’t set to send Meta.
already consumes bare KeyCode::Up for history navigation (codex-rs/tui/src/bottom_pane/chat_composer.rs:870+), so no edit action is triggered.
eddywebs commentedon Nov 1, 2025
I have issue on osx 15.6 running on apple silicon.
austinm911 commentedon Jan 1, 2026
nor on Warp
andrewchen5678 commentedon Jan 3, 2026
got hit with the same issue today, can't believe this, did the developer actually test the shortcuts?
Hyperrick commentedon Feb 2, 2026
Still an issue in native Mac Terminal
snwfdhmp commentedon Feb 7, 2026
still an issue here. macOS 15, vscode terminal
linminhtoo commentedon Feb 18, 2026
yup still not working. no way for me to edit my queue.
snwfdhmp commentedon Feb 18, 2026
Put 👍 on issue to make it go up in their priority list
#4490 (comment)
Hyperrick commentedon Feb 18, 2026
Working in iterm2
etraut-openai commentedon Feb 22, 2026
This will be fixed in the next release.
CodeLuca commentedon Feb 23, 2026
Cant wait
fix(tui): queued-message edit shortcut unreachable in some terminals (o…