fix: keybind testcases

This commit is contained in:
CJ van den Berg 2025-01-22 22:30:24 +01:00
parent bb887b5789
commit 8a89c888eb
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 2 additions and 1 deletions

View file

@ -770,7 +770,7 @@ test "match" {
}
test "json" {
var bindings: BindingSet = .{ .name = "test" };
var bindings: BindingSet = .{ .name = "test", .selection_style = .normal };
_ = try bindings.process_key_event(input.KeyEvent.from_key('j'));
_ = try bindings.process_key_event(input.KeyEvent.from_key('k'));
_ = try bindings.process_key_event(input.KeyEvent.from_key('g'));