From ed1194cd7571c681df17909dfff69311c22731b2 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 10 May 2025 08:51:03 -0700 Subject: [PATCH] fix tests --- include/ghostty.h | 1 + src/config/Config.zig | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/ghostty.h b/include/ghostty.h index 2734fc368..72f23b22b 100644 --- a/include/ghostty.h +++ b/include/ghostty.h @@ -103,6 +103,7 @@ typedef enum { GHOSTTY_ACTION_REPEAT, } ghostty_input_action_e; +// Based on: https://www.w3.org/TR/uievents-code/ typedef enum { GHOSTTY_KEY_UNIDENTIFIED, diff --git a/src/config/Config.zig b/src/config/Config.zig index 0ec61d4c5..7c93ac845 100644 --- a/src/config/Config.zig +++ b/src/config/Config.zig @@ -5159,9 +5159,9 @@ pub const Keybinds = struct { // NB: This does not currently retain the order of the keybinds. const want = - \\a = ctrl+a>ctrl+b>n=new_window - \\a = ctrl+a>ctrl+b>w=close_window \\a = ctrl+a>ctrl+c>t=new_tab + \\a = ctrl+a>ctrl+b>w=close_window + \\a = ctrl+a>ctrl+b>n=new_window \\a = ctrl+b>ctrl+d>a=previous_tab \\ ;