boolean operation correction"

This commit is contained in:
Lael N. Santos
2020-10-05 23:54:18 -03:00
parent dc192c88f3
commit 89a2034b12

View File

@@ -350,7 +350,7 @@ function program:_mouse_map()
-- on curses implementation -- on curses implementation
self._MOUSEMAP = {} self._MOUSEMAP = {}
for n, v in pairs(curses) do for n, v in pairs(curses) do
if n:match('MOUSE') and n ~= 'KEY_MOUSE' or n:match('BUTTON') then if (n:match('MOUSE') and n ~= 'KEY_MOUSE') or n:match('BUTTON') then
self._MOUSEMAP[v] = n self._MOUSEMAP[v] = n
end end
end end