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
CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayappIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxing
What version of the Codex App are you using (From “About Codex” dialog)?
codex-cli 0.156.1
What subscription do you have?
ChatGPT Business — Premium seat (5× usage)
What platform is your computer?
Ubuntu 22.04 LTS Linux 6.8.0-138-generic x86_64 x86_64
What issue are you seeing?
While an approval prompt is open in Codex CLI, I cannot interact with
the surrounding chat to review the context needed for my decision:
I cannot scroll through the conversation.
Ctrl+T does not open the transcript.
Clicking “+ Show details”, when displayed, has no visible effect.
Ctrl+A still opens the fullscreen approval details, so the interface
is not completely unresponsive. However, this does not provide the
chat navigation I need while reviewing the proposed action.
This prevents me from checking earlier explanations and instructions
without first approving or rejecting the pending action.
What steps can reproduce the bug?
Steps to reproduce
Start an interactive Codex CLI session.
Have a conversation long enough to require scrolling.
Ask Codex to perform an edit or command that requires approval.
Leave the approval prompt pending.
Try scrolling through the chat.
Press Ctrl+T to open the transcript.
If “+ Show details” is visible, try clicking it.
What is the expected behavior?
While approval is pending, I should still be able to scroll through
the conversation, open the transcript, and expand available details
to make an informed decision.
Additional information
No response
Reacted by Ilya Ilyinykh, Joe, R. Adi Permana, Aleš Ferlan, Leon Long, kevin, Maxim Popov, Jeroen van der Gun, Lukáš Hellebrandt, Alex Micic and 3 more
Root-cause analysis for this issue and its duplicates #48981 and #48635, traced against main @ c0d2694.
Workaround today: while a patch approval is open, press Ctrl+A (or Ctrl+Shift+A). That opens the complete diff in a fullscreen pager (P A T C H). Close it and the approval prompt is still waiting.
1. Ctrl+T is blocked by the modal gate
In app/input.rs, open_transcript / find_transcript only run when app_keymap_shortcuts_available() is true:
The ApprovalOverlay sits on the bottom pane's view_stack, so has_active_modal() is true and Ctrl+T gets forwarded to the approval view, which ignores it. This is deliberate for most modals (pickers, keymap debug view), but an approval is exactly the moment the user needs context from the transcript. Ctrl+T isn't bound in the Approval or List keymap contexts, so there's no conflict.
2. The existing full-diff shortcut is never advertised for patches
ApprovalOverlay::try_handle_shortcut handles approval.open_fullscreen (default Ctrl+A), and event_dispatch.rs renders the full DiffSummary for ApprovalRequest::ApplyPatch. But the only on-screen hint is header_view_all_hint, which list_selection_view.rs shows only when the header is clipped ([… N lines] ctrl+a view all). For patch approvals the header (apply_patch_header.rs) is just the description and destination paths. It's rarely clipped, so the hint never appears. approval_footer_hint doesn't mention it either. The user only sees the folded diff in the history cell above, with no visible way to expand it.
3. Scrolling
In owned/fullscreen transcript mode, wheel scrolling during a modal is already allowed (owned_transcript.rs) and covered by owned_transcript_input_tests.rs. The "can't scroll" part may be specific to inline mode or the terminal (reporters use macOS Terminal, PyCharm and Ubuntu). Knowing which mode each reporter runs in would help narrow it down.
Suggested fix
Discoverability (small): for ApprovalRequest::ApplyPatch, always append the open_fullscreen hint to approval_footer_hint, for example Press enter to confirm or esc to cancel · ctrl+a view full diff, rather than only showing it when the header is clipped.
Allow the transcript over approvals: add a BottomPaneView hook (for example fn allows_transcript_overlay(&self) -> bool { false }, overridden to true by ApprovalOverlay), and let the open_transcript / find_transcript branch in handle_key_event accept it in addition to app_keymap_shortcuts_available(). The transcript overlay takes input while open, and the approval stays pending on the view stack, so it resumes when the pager closes, the same as the Ctrl+A path today.
Follow-up to my analysis above: I prototyped the suggested fix on my fork for reference, since external PRs aren't accepted. Feel free to use any of it: sripavantejb/codex@ca1db82 (compare).
What it changes (3 source files, about 80 lines including tests):
app/input.rs: open_transcript (Ctrl+T) is allowed while an Approval-context view is active. In owned/fullscreen transcript mode it toggles the detailed view in place, and pressing it again returns. This has to be handled here because owned_transcript.rs ignores non-scroll keys while a modal is open. In terminal mode it opens the transcript pager. Either way the approval stays pending underneath. F3 (find) is left gated because search keys can't reach the owned transcript under a modal.
bottom_pane/approval_overlay.rs: patch approvals always show the open_fullscreen hint in the footer: Press enter to confirm or esc to cancel or ctrl+a to view the full diff.
Test: transcript_shortcut_stays_available_over_patch_approval covers both transcript modes. Three patch-prompt snapshots were updated to show the footer hint.
Verification:just test -p codex-tui passes except for 4 custom_terminal::tests::cursor snapshot tests, which fail identically on unmodified main in my environment (macOS). cargo clippy -p codex-tui --tests is clean.
Update: the prototype branch now also covers the third point in the report, where clicking "+ Show details" has no effect while an approval is pending. New commit: sripavantejb/codex@b96e0c0 (same compare).
Cause: It's the same modal gate as Ctrl+T, but on the mouse path. In app/owned_transcript.rs, every event except wheel scroll returns early while a modal is open, so the click never reaches TranscriptView::toggle_disclosure_at.
Change: While an Approval-context view is active, an unmodified left click is passed to toggle_disclosure_at. If it lands on a disclosure control (+ Show details or + N lines), the activity expands or collapses. Any other click still goes to the modal as before. toggle_disclosure_at goes from pub(super) to pub(crate) so the app layer can call it.
Test:transcript_disclosure_stays_clickable_over_patch_approval clicks the + 5 lines control of a folded command output while a patch approval is open. It asserts that the output expands and the approval stays pending. The test fails without the change. All 380 transcript, approval and disclosure tests pass, and cargo clippy -p codex-tui --tests is clean.
Together with the earlier commit, the branch now covers everything in the report during an approval: wheel scrolling (already supported), Ctrl+T, "+ Show details", and a visible Ctrl+A full-diff hint.
I'm also seeing the “+ Show details” problem in Codex CLI 0.160.0, using Fullscreen TUI mode in the VS Code integrated terminal on Ubuntu 22.04 under WSL2.
Clicking “+ Show details” normally expands the displayed changes. However, while an escalated file-edit approval is pending, clicking it has no effect. This prevents me from inspecting the proposed changes through that control before deciding whether to approve them.
The control remains visible and appears actionable while approval is pending. It should allow inspecting the changes while keeping the approval request pending.
This confirmation concerns “+ Show details”; I haven't tested the scrolling or Ctrl+T symptoms.
Closing this in favor of #48635 for the remaining Ctrl+T request. Two fixes in Codex CLI 0.167.0 let you review the conversation while leaving the approval pending:
To read earlier messages, move the pointer over the visible chat transcript and scroll with the mouse wheel. #48805
To inspect a folded diff, click + Show details while the patch approval is open. The follow-up reports on 0.160.0 and 0.161.0 predate this fix. #58281
Ctrl+A opens the pending approval’s own details. Opening the full conversation transcript with Ctrl+T and then returning to the pending decision is the interaction still tracked in #48635.
CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayappIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxing
Activity
sripavantejb commentedon Sep 28, 2026
Root-cause analysis for this issue and its duplicates #48981 and #48635, traced against
main@ c0d2694.Workaround today: while a patch approval is open, press Ctrl+A (or Ctrl+Shift+A). That opens the complete diff in a fullscreen pager (
P A T C H). Close it and the approval prompt is still waiting.1. Ctrl+T is blocked by the modal gate
In
app/input.rs,open_transcript/find_transcriptonly run whenapp_keymap_shortcuts_available()is true:The
ApprovalOverlaysits on the bottom pane'sview_stack, sohas_active_modal()is true and Ctrl+T gets forwarded to the approval view, which ignores it. This is deliberate for most modals (pickers, keymap debug view), but an approval is exactly the moment the user needs context from the transcript. Ctrl+T isn't bound in theApprovalorListkeymap contexts, so there's no conflict.2. The existing full-diff shortcut is never advertised for patches
ApprovalOverlay::try_handle_shortcuthandlesapproval.open_fullscreen(default Ctrl+A), andevent_dispatch.rsrenders the fullDiffSummaryforApprovalRequest::ApplyPatch. But the only on-screen hint isheader_view_all_hint, whichlist_selection_view.rsshows only when the header is clipped ([… N lines] ctrl+a view all). For patch approvals the header (apply_patch_header.rs) is just the description and destination paths. It's rarely clipped, so the hint never appears.approval_footer_hintdoesn't mention it either. The user only sees the folded diff in the history cell above, with no visible way to expand it.3. Scrolling
In owned/fullscreen transcript mode, wheel scrolling during a modal is already allowed (
owned_transcript.rs) and covered byowned_transcript_input_tests.rs. The "can't scroll" part may be specific to inline mode or the terminal (reporters use macOS Terminal, PyCharm and Ubuntu). Knowing which mode each reporter runs in would help narrow it down.Suggested fix
ApprovalRequest::ApplyPatch, always append theopen_fullscreenhint toapproval_footer_hint, for examplePress enter to confirm or esc to cancel · ctrl+a view full diff, rather than only showing it when the header is clipped.BottomPaneViewhook (for examplefn allows_transcript_overlay(&self) -> bool { false }, overridden totruebyApprovalOverlay), and let theopen_transcript/find_transcriptbranch inhandle_key_eventaccept it in addition toapp_keymap_shortcuts_available(). The transcript overlay takes input while open, and the approval stays pending on the view stack, so it resumes when the pager closes, the same as the Ctrl+A path today.sripavantejb commentedon Sep 28, 2026
Follow-up to my analysis above: I prototyped the suggested fix on my fork for reference, since external PRs aren't accepted. Feel free to use any of it:
sripavantejb/codex@ca1db82(compare).What it changes (3 source files, about 80 lines including tests):
app/input.rs:open_transcript(Ctrl+T) is allowed while anApproval-context view is active. In owned/fullscreen transcript mode it toggles the detailed view in place, and pressing it again returns. This has to be handled here becauseowned_transcript.rsignores non-scroll keys while a modal is open. In terminal mode it opens the transcript pager. Either way the approval stays pending underneath. F3 (find) is left gated because search keys can't reach the owned transcript under a modal.bottom_pane/approval_overlay.rs: patch approvals always show theopen_fullscreenhint in the footer:Press enter to confirm or esc to cancel or ctrl+a to view the full diff.transcript_shortcut_stays_available_over_patch_approvalcovers both transcript modes. Three patch-prompt snapshots were updated to show the footer hint.Verification:
just test -p codex-tuipasses except for 4custom_terminal::tests::cursorsnapshot tests, which fail identically on unmodifiedmainin my environment (macOS).cargo clippy -p codex-tui --testsis clean.tui: keep transcript disclosures clickable during approvals
sripavantejb commentedon Sep 28, 2026
Update: the prototype branch now also covers the third point in the report, where clicking "+ Show details" has no effect while an approval is pending. New commit:
sripavantejb/codex@b96e0c0(same compare).Cause: It's the same modal gate as Ctrl+T, but on the mouse path. In
app/owned_transcript.rs, every event except wheel scroll returns early while a modal is open, so the click never reachesTranscriptView::toggle_disclosure_at.Change: While an
Approval-context view is active, an unmodified left click is passed totoggle_disclosure_at. If it lands on a disclosure control (+ Show detailsor+ N lines), the activity expands or collapses. Any other click still goes to the modal as before.toggle_disclosure_atgoes frompub(super)topub(crate)so the app layer can call it.Test:
transcript_disclosure_stays_clickable_over_patch_approvalclicks the+ 5 linescontrol of a folded command output while a patch approval is open. It asserts that the output expands and the approval stays pending. The test fails without the change. All 380 transcript, approval and disclosure tests pass, andcargo clippy -p codex-tui --testsis clean.Together with the earlier commit, the branch now covers everything in the report during an approval: wheel scrolling (already supported), Ctrl+T, "+ Show details", and a visible Ctrl+A full-diff hint.
powellnorma commentedon Sep 29, 2026
Tested 0.159.0, its fixed in there: #48794 (comment)
manuelpaulo commentedon Oct 3, 2026
Not fixed. Just updated and issue persists.
Alek2077 commentedon Oct 6, 2026
I'm also seeing the “+ Show details” problem in Codex CLI 0.160.0, using Fullscreen TUI mode in the VS Code integrated terminal on Ubuntu 22.04 under WSL2.
Clicking “+ Show details” normally expands the displayed changes. However, while an escalated file-edit approval is pending, clicking it has no effect. This prevents me from inspecting the proposed changes through that control before deciding whether to approve them.
The control remains visible and appears actionable while approval is pending. It should allow inspecting the changes while keeping the approval request pending.
This confirmation concerns “+ Show details”; I haven't tested the scrolling or Ctrl+T symptoms.
keogh commentedon Oct 8, 2026
as of today in codex-cli
v0.161.0I'm still having the issue and it's frustratingetraut-openai commentedon Nov 9, 2026
Closing this in favor of #48635 for the remaining Ctrl+T request. Two fixes in Codex CLI 0.167.0 let you review the conversation while leaving the approval pending:
Ctrl+A opens the pending approval’s own details. Opening the full conversation transcript with Ctrl+T and then returning to the pending decision is the interaction still tracked in #48635.