From 4c46d2bc953850c7484399b7ca7e9f699701b395 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 26 Jan 2024 20:07:55 +0530 Subject: [PATCH] ... --- kitty_tests/keys.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kitty_tests/keys.py b/kitty_tests/keys.py index 702616ebd..d557e09c6 100644 --- a/kitty_tests/keys.py +++ b/kitty_tests/keys.py @@ -611,9 +611,12 @@ def __call__(self, *keys: str): self.ae(len(tm.active_window.key_seqs), 1) # a single multi-key mapping should not prematurely match - tm = TM('map alt+1>2>3') + tm = TM('map alt+1>2>3 new_window') self.ae(tm('alt+1', '2'), [True, True]) af(tm.actions) + tm = TM('map alt+1>2>3 new_window') + self.ae(tm('alt+1', '2', '3'), [True, True, True]) + self.ae(tm.actions, ['new_window']) # changing a multi key mapping tm = TM('map kitty_mod+p>f new_window')