about summary refs log tree commit homepage
path: root/bin
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-09-30 08:30:28 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-30 08:32:10 +0000
commit75cf81705b1faba70f51499a45b56dfc1a5fc491 (patch)
tree73b06626c99b27fbfc1c15cf31191527efb50b01 /bin
parent58935096fcacdaa986bdc2aaae1f7688a7b7369a (diff)
downloaddtas-75cf81705b1faba70f51499a45b56dfc1a5fc491.tar.gz
It is easier to break out of dtas-console with one key than using a
2-finger combination.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dtas-console1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/dtas-console b/bin/dtas-console
index 0cb14fa..16ed592 100755
--- a/bin/dtas-console
+++ b/bin/dtas-console
@@ -172,6 +172,7 @@ begin
         case key = Curses.getch
         when "j" then c.req_ok("seek -5")
         when "k" then c.req_ok("seek +5")
+        when "q" then exit(0)
         when Curses::KEY_DOWN then c.req_ok("seek -60")
         when Curses::KEY_UP then c.req_ok("seek +60")
         when Curses::KEY_LEFT then c.req_ok("seek -10")