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:
parent
fbb3a30953
commit
ca9d417633
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue