Skip to content
Myr

Support border-{up,down} as the synonyms for border-{top,bottom}

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 83515d5 · Browse files · 3 files+11 added−9 removed
This commit

State

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

Diff stats

3 files+11 added−9 removed

  • other:+11 added−9 removed

3 files+11 added−9 removed

modified:man/man1/fzf.1+7 added-7 removed
187 unmodified lines
188.B "--reverse"189A synonym for \fB--layout=reverse\fB190191.TP192.BI "--border" [=STYLE]192.BI "--border" [=BORDER_OPT]193Draw border around the finder194195.br196.BR rounded " Border with rounded corners (default)"196.BR rounded " Border with rounded corners (default)"197.br198.BR sharp " Border with sharp corners"198.BR sharp " Border with sharp corners"199.br200.BR horizontal " Horizontal lines above and below the finder"200.BR horizontal " Horizontal lines above and below the finder"201.br202.BR vertical " Vertical lines on each side of the finder"202.BR vertical " Vertical lines on each side of the finder"203.br204.BR top204.BR top " (up)"205.br206.BR bottom206.BR bottom " (down)"207.br208.BR left209.br210.BR right
823 unmodified lines
modified:src/options.go+2 added-2 removed
1226 unmodified lines
1227 case "border-horizontal":1228 opts.border = tui.BorderHorizontal1229 case "border-vertical":1230 opts.border = tui.BorderVertical1231 case "border-top":1231 case "border-up", "border-top":1232 opts.border = tui.BorderTop1233 case "border-bottom":1233 case "border-down", "border-bottom":1234 opts.border = tui.BorderBottom1235 case "border-left":1236 opts.border = tui.BorderLeft1237 case "border-right":
548 unmodified lines
modified:CHANGELOG.md+2 added
6 unmodified lines
7 ```sh8 printf "\e[38;5;208mOption 1\e[m\nOption 2" | fzf --ansi9 printf "\e[38:5:208mOption 1\e[m\nOption 2" | fzf --ansi10 ```11- Support `border-{up,down}` as the synonyms for `border-{top,bottom}` in12 `--preview-window`13140.32.115------16- Fixed incorrect ordering of `--tiebreak=chunk`
1283 unmodified lines