From b21e66a3cd20e088149926ecdf5710dabd1ec03b Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 26 Nov 2014 09:59:23 -0500 Subject: Allow connection to `events.QUIT` without requiring index of 1. --- modules/textadept/editing.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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 -- cgit v1.2.3