- commit
- 3e7221b11c4fcc5d530251b84680e924544400b8
- parent
- 93ca7a23015cb0575a2aefd4bc4a24126b71564e
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2022-11-22 08:04
change keys for previous/next search match ctrl-s is interpreted as xoff (flow control) by many terminals
Diffstat
| M | cplay.py | 6 | +++--- |
1 files changed, 3 insertions, 3 deletions
diff --git a/cplay.py b/cplay.py
@@ -33,7 +33,7 @@ n : next track 33 33 x, Space : toggle play/pause 34 34 Left, Right : seek backward/forward 35 35 / : search36 -1 C-s, C-r : next/previous search match-1 36 [, ] : previous/next search match 37 37 Esc : cancel 38 38 0..9 : volume control 39 39 h : help @@ -356,10 +356,10 @@ class List: 356 356 self.set_cursor(0) 357 357 elif key == '/': 358 358 app.input.start('/', on_input=self.search)359 -1 elif key == chr(19):-1 359 elif key == ']': 360 360 if self.search_str: 361 361 self.search(self.search_str, 1, 1)362 -1 elif key == chr(18):-1 362 elif key == '[': 363 363 if self.search_str: 364 364 self.search(self.search_str, -1, 1) 365 365 else: