File tree 1 file changed +2
-2
lines changed
Filter options
1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ def test_control_w_delete_word(self):
384
384
with self .subTest (text = text , before_pos = before_pos ):
385
385
events = itertools .chain (
386
386
code_to_events (text ),
387
- [Event (evt = "key" , data = "left" , raw = bytearray (b"\x1b [D " ))] * (len (text ) - before_pos ), # Move cursor to specified position
387
+ [Event (evt = "key" , data = "left" , raw = bytearray (b"\x1b OD " ))] * (len (text ) - before_pos ), # Move cursor to specified position
388
388
[
389
389
Event (evt = "key" , data = "\x17 " , raw = bytearray (b"\x17 " )), # Control-W
390
390
],
@@ -407,7 +407,7 @@ def test_control_k_delete_to_eol(self):
407
407
with self .subTest (text = text , pos = pos ):
408
408
events = itertools .chain (
409
409
code_to_events (text ),
410
- [Event (evt = "key" , data = "left" , raw = bytearray (b"\x1b [D " ))] * (len (text ) - pos ), # Move cursor to specified position
410
+ [Event (evt = "key" , data = "left" , raw = bytearray (b"\x1b OD " ))] * (len (text ) - pos ), # Move cursor to specified position
411
411
[
412
412
Event (evt = "key" , data = "\x0b " , raw = bytearray (b"\x0b " )), # Control-K
413
413
],
You can’t perform that action at this time.
0 commit comments