Skip to content

Commit

Permalink
fix(VanillinTerminal): GetCommands now puts built-ins before other co…
Browse files Browse the repository at this point in the history
…mmands
  • Loading branch information
Computerdores committed Apr 12, 2024
1 parent c9a0826 commit bba6dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AdvancedTerminalAPI/Vanillin/VanillinTerminal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class VanillinTerminal : ITerminal {
public InputFieldDriver GetDriver() => _driver;

public IEnumerable<ICommand> GetCommands(bool includeBuiltins) {
return includeBuiltins ? _commands.Concat(_builtinCommands) : _commands;
return includeBuiltins ? _builtinCommands.Concat(_commands) : _commands;
}

public void AddCommand(ICommand command) => AddCommand(_commands, command);
Expand Down

0 comments on commit bba6dd1

Please sign in to comment.