diff options
author | 2014-11-26 09:59:23 -0500 | |
---|---|---|
committer | 2014-11-26 09:59:23 -0500 | |
commit | b21e66a3cd20e088149926ecdf5710dabd1ec03b (patch) | |
tree | 526ee6f2265f75740d258f77464d501a76b8ccbc /modules/textadept | |
parent | e8ef57a0f5401fe5469220a6f85a085100344f97 (diff) | |
download | textadept-b21e66a3cd20e088149926ecdf5710dabd1ec03b.tar.gz textadept-b21e66a3cd20e088149926ecdf5710dabd1ec03b.zip |
Allow connection to `events.QUIT` without requiring index of 1.
Diffstat (limited to 'modules/textadept')
-rw-r--r-- | modules/textadept/editing.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index cd5f0a92..13503111 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -202,7 +202,7 @@ if CURSES and not WIN32 then events.connect(events.QUIT, function() io.stdout:write('\x1b[?2004l') -- disable bracketed paste mode io.stdout:flush() - end, 1) + end) local reenable_autopair, reenable_autoindent events.connect('csi', function(cmd, args) if cmd ~= string.byte('~') then return end |