]> git.pld-linux.org Git - packages/amaroc.git/blame - amaroc-keys.patch
- recognize ? as help key
[packages/amaroc.git] / amaroc-keys.patch
CommitLineData
aa18280e
ER
1--- amaroc.py 2008-03-07 10:22:41.462309113 +0200
2+++ amaroc.py 2009-01-03 16:46:54.718550196 +0200
3@@ -292,8 +292,8 @@
c46d5afd
ER
4 scroll_list(the_offset)
5 scroll.move(cur_y, 1)
6 c = stdscr.getch()
7- if c == ord('x'): err=0; break
aa18280e 8- elif c == ord('h'):
c46d5afd 9+ if c == ord('x') or c == ord('q'): err=0; break
aa18280e 10+ elif c == ord('h') or c == ord('?'):
c46d5afd
ER
11 displayhelp()
12 elif c == ord('d'):
aa18280e 13 ret = ak_basic('next')
c46d5afd
ER
14@@ -307,7 +307,7 @@
15 err = 1
16 break
17 statuswin('Previous track')
18- elif c == ord(' '):
19+ elif c == ord(' ') or c == 10:
20 ret = playindex(str(the_offset+cur_y))
21 if ret == 0:
22 err = 1
This page took 0.039574 seconds and 4 git commands to generate.