diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-07-06 10:05:25 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-07-06 10:05:25 +0900 |
| commit | 6e3c830cd26194775ad18d565b1d96df8ae945f0 (patch) | |
| tree | 7a944edfca478188bc8f967270fb7e0016651316 /src/options.go | |
| parent | d7db7fc13275ed55b6d3d79b18f95d5b83b7a015 (diff) | |
| download | fzf-6e3c830cd26194775ad18d565b1d96df8ae945f0.tar.gz | |
Add 'multi' event triggered on multi-selection changes
Diffstat (limited to 'src/options.go')
| -rw-r--r-- | src/options.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/options.go b/src/options.go index c724f2eb..5cb9f14a 100644 --- a/src/options.go +++ b/src/options.go @@ -1008,6 +1008,8 @@ func parseKeyChordsImpl(str string, message string) (map[tui.Event]string, error add(tui.JumpCancel) case "click-header": add(tui.ClickHeader) + case "multi": + add(tui.Multi) case "alt-enter", "alt-return": chords[tui.CtrlAltKey('m')] = key case "alt-space": @@ -1561,7 +1563,7 @@ func parseActionList(masked string, original string, prevActions []*action, putA appendAction(actCancel) case "clear-query": appendAction(actClearQuery) - case "clear-selection": + case "clear-multi", "clear-selection": appendAction(actClearSelection) case "forward-char": appendAction(actForwardChar) |
