diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2014-10-25 00:30:36 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2014-10-25 00:30:36 -0400 |
commit | 83c20c89439386f31050718c94551d863298cdb9 (patch) | |
tree | 536dd52392df00ded7bbc5f650ea0eb0d397d52d /scripts | |
parent | 1de8c1bb596a7dbff39ab55685ead31a5d0c9373 (diff) |
Improvements to terminal mouse handling.
Emit events for unhandled mouse events and connect to such events in order to
focus and resize views.
Patch libtermkey with new Win32 PDCurses driver for unified key/mouse input.
Update CDK patch to always use libtermkey and to ignore mouse events.
Requires Scinterm r97 (changeset 8d1a625c9b4d).
Thanks to Chris Emerson for proof of concept code that handles mouse events and
for the code that focuses and resizes views.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gen_iface.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/gen_iface.lua b/scripts/gen_iface.lua index cf06ff75..49fd747e 100755 --- a/scripts/gen_iface.lua +++ b/scripts/gen_iface.lua @@ -77,6 +77,11 @@ for line in io.lines('../src/scintilla/include/Scintilla.iface') do ::continue:: end +-- Add mouse events from Scinterm manually. +constants[#constants + 1] = 'MOUSE_PRESS=1' +constants[#constants + 1] = 'MOUSE_DRAG=2' +constants[#constants + 1] = 'MOUSE_RELEASE=3' + table.sort(constants) table.sort(functions) table.sort(properties) |