aboutsummaryrefslogtreecommitdiff
path: root/telem.lua
diff options
context:
space:
mode:
Diffstat (limited to 'telem.lua')
-rwxr-xr-xtelem.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/telem.lua b/telem.lua
index 29ef3f8..6a40b95 100755
--- a/telem.lua
+++ b/telem.lua
@@ -530,6 +530,7 @@ type_dispatch["f"] = do_type_first
type_dispatch["l"] = do_type_last
type_dispatch["n"] = do_type_next
type_dispatch["p"] = do_type_prev
+type_dispatch["q"] = function() do_quit() os.exit() end
type_dispatch["r"] = do_type_reply
type_dispatch["s"] = do_type_save
type_dispatch["w"] = do_type_whole
@@ -543,7 +544,8 @@ function type_prompt_func()
"["..colourise("red","w").."]hole, " ..
"["..colourise("red","r").."]eply, " ..
"["..colourise("red","s").."]ave, " ..
- "["..colourise("red","d").."]one > "
+ "["..colourise("red","d").."]one, " ..
+ "["..colourise("red","q").."]uit > "
end
function do_type()