From c97f531abfb3053317b10d605eabf3aaaabab413 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Mon, 7 Sep 2020 10:39:19 -0400 Subject: Added `ui.find.active` and prevent word highlighting when searching. Word auto-highlighting when searching is too distracting. --- core/ui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/ui.lua b/core/ui.lua index e726d1f4..438d7494 100644 --- a/core/ui.lua +++ b/core/ui.lua @@ -331,7 +331,7 @@ end) -- Sets buffer statusbar text. events_connect(events.UPDATE_UI, function(updated) - if updated and updated & 3 == 0 then return end -- ignore scrolling + if updated & 3 == 0 then return end -- ignore scrolling local text = not CURSES and '%s %d/%d %s %d %s %s %s %s' or '%s %d/%d %s %d %s %s %s %s' local pos = buffer.selection_n_caret[buffer.main_selection] -- cgit v1.2.3