aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/ui.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2018-02-21 13:37:14 -0500
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2018-02-21 13:37:14 -0500
commiteba612bd6dd8f53b05163af1d06554df4e0bdc9f (patch)
tree5a0070f98519747bfd61ea05e285ae1c71ac7aa1 /core/ui.lua
parent672a74b9d43ae072baa585d7f63b4cad990ed62a (diff)
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.lua1
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