...
This commit is contained in:
parent
c95fc3689b
commit
4c46d2bc95
1 changed files with 4 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue