diff options
| author | Ez Diy <ezdiy@outlook.com> | 2020-09-17 00:43:27 +0200 |
|---|---|---|
| committer | Ez Diy <ezdiy@outlook.com> | 2020-09-17 00:43:27 +0200 |
| commit | daf4b8d3894cca25b3015d35e9168b7b2569d43b (patch) | |
| tree | 46845a28fab402fb91ec4409a00684e048133eb3 /lua/vis.lua | |
| parent | 1b9d70eafc24eaa82c2796fa6d72a482bb09dba9 (diff) | |
| download | vis-daf4b8d3894cca25b3015d35e9168b7b2569d43b.tar.gz vis-daf4b8d3894cca25b3015d35e9168b7b2569d43b.tar.xz | |
Pass up terminal CSI as events to Lua.
Diffstat (limited to 'lua/vis.lua')
| -rw-r--r-- | lua/vis.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/vis.lua b/lua/vis.lua index 479d1ee..dd17192 100644 --- a/lua/vis.lua +++ b/lua/vis.lua @@ -151,6 +151,7 @@ local events = { WIN_HIGHLIGHT = "Event::WIN_HIGHLIGHT", -- see @{win_highlight} WIN_OPEN = "Event::WIN_OPEN", -- see @{win_open} WIN_STATUS = "Event::WIN_STATUS", -- see @{win_status} + TERM_CSI = "Event::TERM_CSI", -- see @{term_csi} } events.file_close = function(...) events.emit(events.FILE_CLOSE, ...) end @@ -165,6 +166,7 @@ events.win_close = function(...) events.emit(events.WIN_CLOSE, ...) end events.win_highlight = function(...) events.emit(events.WIN_HIGHLIGHT, ...) end events.win_open = function(...) events.emit(events.WIN_OPEN, ...) end events.win_status = function(...) events.emit(events.WIN_STATUS, ...) end +events.term_csi = function(...) events.emit(events.TERM_CSI, ...) end local handlers = {} |
