- commit
- 2898b916508dcfe91064c924a39d9e0ef0c1048e
- parent
- ef314c1d64c1f5e13c72f76d8ce41e85d8c60785
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-09-03 09:44
allow to use space for play/pause seems to be popular in other players
Diffstat
| M | cplay.py | 4 | ++-- |
1 files changed, 2 insertions, 2 deletions
diff --git a/cplay.py b/cplay.py
@@ -25,7 +25,7 @@ End, G : move to bottom 25 25 Enter : chdir or play 26 26 Tab : switch between filelist/playlist 27 27 n : next track28 -1 x : toggle play/pause-1 28 x, Space : toggle play/pause 29 29 Left, Right : seek backward/forward 30 30 Esc : cancel 31 31 0..9 : volume control @@ -531,7 +531,7 @@ class Application: 531 531 player.seek(1) 532 532 elif key == curses.KEY_LEFT: 533 533 player.seek(-1)534 -1 elif key == 'x':-1 534 elif key in ['x', ' ']: 535 535 player.toggle() 536 536 elif key == 'n': 537 537 player.play(playlist.next())