diff options
author | 2018-02-21 13:37:14 -0500 | |
---|---|---|
committer | 2018-02-21 13:37:14 -0500 | |
commit | eba612bd6dd8f53b05163af1d06554df4e0bdc9f (patch) | |
tree | 5a0070f98519747bfd61ea05e285ae1c71ac7aa1 /core/ui.lua | |
parent | 672a74b9d43ae072baa585d7f63b4cad990ed62a (diff) | |
download | textadept-eba612bd6dd8f53b05163af1d06554df4e0bdc9f.tar.gz textadept-eba612bd6dd8f53b05163af1d06554df4e0bdc9f.zip |
The terminal version can immediately focus a clicked view.
This allows for immediate scrolling, selections, etc. in non-focused views. This
behavior mimics the GUI version.
Diffstat (limited to 'core/ui.lua')
-rw-r--r-- | core/ui.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/ui.lua b/core/ui.lua index 708a6454..b725c900 100644 --- a/core/ui.lua +++ b/core/ui.lua @@ -476,6 +476,7 @@ if CURSES then elseif resize then resize(y, x) end + return resize ~= nil -- false resends mouse event to current view end) end |