m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 00:03:39 -05:00

Add click-header event for reporting clicks within header (#3768)

Sets $FZF_CLICK_HEADER_LINE and $FZF_CLICK_HEADER_COLUMN env vars with
coordinates of the last click inside and relative to the header and
fires click-header event.

Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
This commit is contained in:
Kuremu
2024-05-05 09:56:43 +00:00
committed by GitHub
parent b6add2a257
commit 7b98c2c653
4 changed files with 47 additions and 3 deletions

View File

@@ -130,6 +130,7 @@ const (
Result
Jump
JumpCancel
ClickHeader
)
func (t EventType) AsEvent() Event {