Add H for help in keyboard mode

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
openhands
2026-09-05 21:53:46 +00:00
parent 90226fc970
commit d351fb2ffe
5 changed files with 9 additions and 4 deletions
@@ -178,6 +178,10 @@ public class CommandParserTests
Assert.IsType<Command.Quit>(CommandParser.FromKey(Key(ConsoleKey.Q, 'q')));
}
[Fact]
public void FromKey_Help() =>
Assert.IsType<Command.ShowHelp>(CommandParser.FromKey(Key(ConsoleKey.H, 'h')));
[Fact]
public void FromKey_UnmappedKey_IsANoOp() =>
Assert.IsType<Command.Noop>(CommandParser.FromKey(Key(ConsoleKey.B, 'b')));