From 75cf81705b1faba70f51499a45b56dfc1a5fc491 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 30 Sep 2013 08:30:28 +0000 Subject: dtas-console: allow exit via 'q' key It is easier to break out of dtas-console with one key than using a 2-finger combination. --- bin/dtas-console | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/dtas-console') 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") -- cgit v1.2.3-24-ge0c7