diff options
author | Solderpunk <solderpunk@sdf.org> | 2018-12-19 21:41:12 +0000 |
---|---|---|
committer | Solderpunk <solderpunk@sdf.org> | 2018-12-19 21:41:12 +0000 |
commit | 99e4109f6885460a84053b910af3189de29b2fcd (patch) | |
tree | fda5827be099ab0e6dfe0bcb8126745564e8139d | |
parent | Check more environment variables for the editor to use. (diff) |
Allow quitting directly from the 'type' prompt.
Diffstat (limited to '')
-rwxr-xr-x | telem.lua | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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() |