mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-02-08 23:18:32 +00:00
parent
36b971ee4e
commit
96670d5f16
@ -1,6 +1,11 @@
|
|||||||
CHANGELOG
|
CHANGELOG
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
0.39.1
|
||||||
|
------
|
||||||
|
- Disallow using `--track` with `--tac` as the result can be very confusing
|
||||||
|
- Bug fixes and improvements
|
||||||
|
|
||||||
0.39.0
|
0.39.0
|
||||||
------
|
------
|
||||||
- Added `one` event that is triggered when there's only one match
|
- Added `one` event that is triggered when there's only one match
|
||||||
|
@ -95,6 +95,7 @@ Do not sort the result
|
|||||||
.B "--track"
|
.B "--track"
|
||||||
Make fzf track the current selection when the result list is updated.
|
Make fzf track the current selection when the result list is updated.
|
||||||
This can be useful when browsing logs using fzf with sorting disabled.
|
This can be useful when browsing logs using fzf with sorting disabled.
|
||||||
|
This option is not compatible with \fB--tac\fR.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
e.g.
|
e.g.
|
||||||
|
@ -1938,6 +1938,10 @@ func postProcessOptions(opts *Options) {
|
|||||||
errorExit("scrollbar display width should be 1")
|
errorExit("scrollbar display width should be 1")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if opts.Track && opts.Tac {
|
||||||
|
errorExit("--track cannot be used with --tac")
|
||||||
|
}
|
||||||
|
|
||||||
// Default actions for CTRL-N / CTRL-P when --history is set
|
// Default actions for CTRL-N / CTRL-P when --history is set
|
||||||
if opts.History != nil {
|
if opts.History != nil {
|
||||||
if _, prs := opts.Keymap[tui.CtrlP.AsEvent()]; !prs {
|
if _, prs := opts.Keymap[tui.CtrlP.AsEvent()]; !prs {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user