From 284d77fe2e41ec69fcc7ca7162bcf9b65b1641be Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 23 Jan 2023 16:22:25 +0900 Subject: Add 'focus' event Can we find a better name? I have considered the followings. * 'point', because "the pointer" points to the current item. * 'shift', 'switch', 'move', etc. These are not technically correct because the current item can change without cursor movement (--tac, reload, search update) * 'change' is already taken. 'change-current' feels a bit wordy and sounds wrong, 'current-changed' is wordy and doesn't go well with the other event names * 'target', not straightforward Close #3053 --- src/tui/tui.go | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tui/tui.go') diff --git a/src/tui/tui.go b/src/tui/tui.go index 203da76c..a51627fd 100644 --- a/src/tui/tui.go +++ b/src/tui/tui.go @@ -92,6 +92,7 @@ const ( BackwardEOF Start Load + Focus AltBS -- cgit v1.2.3