]> git.pld-linux.org Git - packages/amaroc.git/blame - amaroc-keys.patch
- extra keys: 'q' - quit; enter - play
[packages/amaroc.git] / amaroc-keys.patch
CommitLineData
c46d5afd
ER
1--- /usr/bin/amaroc~ 2008-03-07 10:22:39.000000000 +0200
2+++ /usr/bin/amaroc 2008-03-07 10:22:41.462309113 +0200
3@@ -292,7 +292,7 @@
4 scroll_list(the_offset)
5 scroll.move(cur_y, 1)
6 c = stdscr.getch()
7- if c == ord('x'): err=0; break
8+ if c == ord('x') or c == ord('q'): err=0; break
9 elif c == ord('h'):
10 displayhelp()
11 elif c == ord('d'):
12@@ -307,7 +307,7 @@
13 err = 1
14 break
15 statuswin('Previous track')
16- elif c == ord(' '):
17+ elif c == ord(' ') or c == 10:
18 ret = playindex(str(the_offset+cur_y))
19 if ret == 0:
20 err = 1
This page took 0.055301 seconds and 4 git commands to generate.