From ca9d417633ad47fc5ed8dbc5ab01d57bd9ea70c0 Mon Sep 17 00:00:00 2001 From: natea-oai Date: Thu, 29 Jan 2026 14:41:42 -0800 Subject: [PATCH] updating comment to better indicate intent of skipping `quit` in the main slash command menu (#10186) Updates comment indicating intent for skipping `quit` in the main slash command dropdown. --- codex-rs/tui/src/bottom_pane/command_popup.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/codex-rs/tui/src/bottom_pane/command_popup.rs b/codex-rs/tui/src/bottom_pane/command_popup.rs index 5423231db..621683923 100644 --- a/codex-rs/tui/src/bottom_pane/command_popup.rs +++ b/codex-rs/tui/src/bottom_pane/command_popup.rs @@ -122,7 +122,8 @@ impl CommandPopup { if filter.is_empty() { // Built-ins first, in presentation order. for (_, cmd) in self.builtins.iter() { - // Skipping quit as it's a duplicate of exit. + // Hide alias commands in the default popup list so each unique action appears once. + // `quit` is an alias of `exit`, so we skip `quit` here. if *cmd == SlashCommand::Quit { continue; }