]> git.pld-linux.org Git - packages/amaroc.git/commitdiff
- extra keys: 'q' - quit; enter - play
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 7 Mar 2008 08:31:04 +0000 (08:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amaroc-keys.patch -> 1.1

amaroc-keys.patch [new file with mode: 0644]

diff --git a/amaroc-keys.patch b/amaroc-keys.patch
new file mode 100644 (file)
index 0000000..e186a2f
--- /dev/null
@@ -0,0 +1,20 @@
+--- /usr/bin/amaroc~   2008-03-07 10:22:39.000000000 +0200
++++ /usr/bin/amaroc    2008-03-07 10:22:41.462309113 +0200
+@@ -292,7 +292,7 @@
+       scroll_list(the_offset)
+       scroll.move(cur_y, 1)
+       c = stdscr.getch()
+-      if c == ord('x'): err=0; break
++      if c == ord('x') or c == ord('q'): err=0; break
+       elif c == ord('h'):
+               displayhelp()
+       elif c == ord('d'): 
+@@ -307,7 +307,7 @@
+                       err = 1
+                       break
+               statuswin('Previous track')
+-      elif c == ord(' '):
++      elif c == ord(' ') or c == 10:
+               ret = playindex(str(the_offset+cur_y))
+               if ret == 0:
+                       err =  1
This page took 0.061369 seconds and 4 git commands to generate.