Skip to content

Commit

Permalink
fix autocomplete on command aliases (#2538)
Browse files Browse the repository at this point in the history
  • Loading branch information
aliceisjustplaying committed Apr 27, 2024
1 parent 1e7a150 commit 9dd6cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/studio/screens/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -3357,7 +3357,7 @@ static void processConsoleTab(Console* console)
bool commandMatches = (strlen(Commands[i].name) == commandLen &&
strncmp(Commands[i].name, input, commandLen) == 0) ||
(Commands[i].alt &&
strlen(Commands[i].name) == commandLen &&
strlen(Commands[i].alt) == commandLen &&
strncmp(Commands[i].alt, input, commandLen) == 0);

if (commandMatches)
Expand Down

0 comments on commit 9dd6cd8

Please sign in to comment.