aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/keys.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2012-10-17 15:30:38 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2012-10-17 15:30:38 -0400
commit21c24c5d7f927482cb264a037af6143de4ca10f7 (patch)
tree6ab93aaa8784d39792e7302fd2fabfda82ca5b9c /core/keys.lua
parent39ee8c120e62331c2d31846a18086efd059f5709 (diff)
`keys.get_gdk_key()` has no use to ncurses; core/keys.lua
Diffstat (limited to 'core/keys.lua')
-rw-r--r--core/keys.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/keys.lua b/core/keys.lua
index 88ee1165..19b07e99 100644
--- a/core/keys.lua
+++ b/core/keys.lua
@@ -275,10 +275,7 @@ local function get_gdk_key(key_seq)
local byte = string_byte(key)
if #key > 1 or byte < 32 then
for i, s in pairs(M.KEYSYMS) do
- if s == key and i ~= 0xFE20 and (i > 0xFE20 or NCURSES) then
- byte = i
- break
- end
+ if s == key and i > 0xFE20 then byte = i break end
end
end
return byte, modifiers