aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-10-25 21:31:52 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2010-10-25 21:31:52 -0400
commit50646a695621ae25ddadf38a56218265e09a6b00 (patch)
treed49d031bffc219bca1e4535034028e8b9cf73de6 /modules/textadept/keys.lua
parentb3367bca431aecf5759c688324b97d1458c8754f (diff)
downloadtextadept-50646a695621ae25ddadf38a56218265e09a6b00.tar.gz
textadept-50646a695621ae25ddadf38a56218265e09a6b00.zip
Do not clear statusbar text if set by key command; modules/textadept/keys.lua
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r--modules/textadept/keys.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index cfc58f31..a8c09656 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -631,8 +631,8 @@ local function keypress(code, shift, control, alt)
-- Clear the key sequence, but keep any status messages from the key
-- command itself.
keychain = {}
- if not (gui.statusbar_text == L('Invalid sequence') or
- gui.statusbar_text:find('^'..L('Keychain:'))) then
+ if gui.statusbar_text == L('Invalid sequence') or
+ gui.statusbar_text:find('^'..L('Keychain:')) then
gui.statusbar_text = ''
end
end