diff --git a/codex-rs/tui/src/bottom_pane/help_view.rs b/codex-rs/tui/src/bottom_pane/help_view.rs index 41c02cbba1..2102098be4 100644 --- a/codex-rs/tui/src/bottom_pane/help_view.rs +++ b/codex-rs/tui/src/bottom_pane/help_view.rs @@ -226,11 +226,7 @@ impl SlashHelpView { if !self.search.active_query.is_empty() { spans.push("n/p match ".dim()); } - spans.extend([ - "q/".dim(), - key_hint::plain(KeyCode::Esc).into(), - " close".dim(), - ]); + spans.extend([key_hint::plain(KeyCode::Esc).into(), " close".dim()]); Line::from(spans) } diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_help_output.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_help_output.snap index fd4400ca47..5061875738 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_help_output.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_help_output.snap @@ -240,4 +240,4 @@ expression: popup /debug-m-drop - ↑/↓ scroll ctrl + p/ctrl + n page / search q/esc close 1-232/239 + ↑/↓ scroll ctrl + p/ctrl + n page / search esc close 1-232/239