diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-06-17 00:07:27 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-06-17 00:11:57 +0900 |
| commit | e0ddb97ab49b206ab350618438627b93b5c0c68f (patch) | |
| tree | 03e0b16e15cac1c7f655bc1af76138b8043bda91 /src/tui/tui.go | |
| parent | b8c01af0fc5c8bbe674b7057ca2bf2caa0a2d2c4 (diff) | |
| download | fzf-e0ddb97ab49b206ab350618438627b93b5c0c68f.tar.gz | |
Improved --sync behavior
When --sync is provided, fzf will not render the interface until the
initial filtering and associated actions (bound to any of 'start',
'load', or 'result') are complete.
Diffstat (limited to 'src/tui/tui.go')
| -rw-r--r-- | src/tui/tui.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/tui/tui.go b/src/tui/tui.go index 96a72651..f3e58f41 100644 --- a/src/tui/tui.go +++ b/src/tui/tui.go @@ -334,15 +334,6 @@ type Event struct { MouseEvent *MouseEvent } -func (e Event) Is(types ...EventType) bool { - for _, t := range types { - if e.Type == t { - return true - } - } - return false -} - type MouseEvent struct { Y int X int |
