Skip to content

Commit

Permalink
fix: CommandResult.IGNORE_INPUT had success == false
Browse files Browse the repository at this point in the history
  • Loading branch information
Computerdores committed Apr 16, 2024
1 parent a3ee9b7 commit 27cd187
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AdvancedTerminalAPI/AdvancedTerminalAPI/CommandResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ public struct CommandResult {
this.wantsMoreInput = wantsMoreInput;
}

public static readonly CommandResult IGNORE_INPUT = new() {clearScreen = false, wantsMoreInput = true};
public static readonly CommandResult GENERIC_ERROR = new() {success = false};
public static readonly CommandResult IGNORE_INPUT = new(null, false, true, true);
public static readonly CommandResult GENERIC_ERROR = new(null, true, false);
}

0 comments on commit 27cd187

Please sign in to comment.