mirror of
https://github.com/openai/codex.git
synced 2026-02-01 22:47:52 +00:00
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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user