mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:20:47 +00:00
680 B
680 B
Task 07: Undo Feedback Decision with Esc Key
Goal
Enhance the user-approval dialog so that if the user opted to leave feedback (“No, enter feedback”) they can press Esc to cancel the feedback flow and return to the previous approval choice menu (e.g. “Yes, proceed” vs. “No, enter feedback”).
Acceptance Criteria
- While the feedback-entry textarea is active, pressing
Esccloses the feedback editor and reopens the yes/no confirmation dialog. - The cancellation must restore the dialog state without losing any partially entered feedback text.
Notes
- Changes in
tui/src/bottom_pane/approval_modal_view.rsand input handling in the approval modal.