Skip to content
Myr

Fix '--tmux border-native'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 120cd7f · Browse files · 2 files+11 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+11 added−2 removed

  • other:+11 added−2 removed

2 files+11 added−2 removed

modified:src/options.go+6 added-1 removed
329 unmodified lines
330 }331 }332333 // Defaults to 'center'334 switch tokens[0] {334 first := "center"335 if len(tokens) > 0 {336 first = tokens[0]337 }338339 switch first {340 case "top", "up":341 opts.position = posUp342 opts.width = sizeSpec{100, true}343 case "bottom", "down":
2867 unmodified lines
modified:CHANGELOG.md+5 added-1 removed
27 unmodified lines
28 - `input-label`29 - Actions30 - `change-input-label`31 - `transform-input-label`32- Added `--preview-border[=STYLE]` as short for `--preview-window=border-[STYLE]`32- Added `--preview-border[=STYLE]` as short for `--preview-window=border[-STYLE]`33- You can specify `border-native` to `--tmux` so that native tmux border is used instead of `--border`. This can be useful if you start a different program from inside the popup.34 ```sh35 fzf --tmux border-native --bind 'enter:execute:less {}'36 ```37- Added `toggle-multi-line` action38- Added `toggle-hscroll` action39400.57.0
2328 unmodified lines