mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-13 13:53:47 -05:00
@@ -1851,6 +1851,11 @@ func postProcessOptions(opts *Options) {
|
||||
}
|
||||
opts.Keymap = keymap
|
||||
|
||||
// If 'double-click' is left unbound, bind it to the action bound to 'enter'
|
||||
if _, prs := opts.Keymap[tui.DoubleClick.AsEvent()]; !prs {
|
||||
opts.Keymap[tui.DoubleClick.AsEvent()] = opts.Keymap[tui.CtrlM.AsEvent()]
|
||||
}
|
||||
|
||||
if opts.Height.auto {
|
||||
for _, s := range []sizeSpec{opts.Margin[0], opts.Margin[2]} {
|
||||
if s.percent {
|
||||
|
||||
Reference in New Issue
Block a user