mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-25 14:17:40 +00:00
Support border-{up,down} as the synonyms for border-{top,bottom}
This commit is contained in:
parent
83515d5610
commit
c1c355160d
@ -8,6 +8,8 @@ CHANGELOG
|
|||||||
printf "\e[38;5;208mOption 1\e[m\nOption 2" | fzf --ansi
|
printf "\e[38;5;208mOption 1\e[m\nOption 2" | fzf --ansi
|
||||||
printf "\e[38:5:208mOption 1\e[m\nOption 2" | fzf --ansi
|
printf "\e[38:5:208mOption 1\e[m\nOption 2" | fzf --ansi
|
||||||
```
|
```
|
||||||
|
- Support `border-{up,down}` as the synonyms for `border-{top,bottom}` in
|
||||||
|
`--preview-window`
|
||||||
|
|
||||||
0.32.1
|
0.32.1
|
||||||
------
|
------
|
||||||
|
@ -189,21 +189,21 @@ Choose the layout (default: default)
|
|||||||
A synonym for \fB--layout=reverse\fB
|
A synonym for \fB--layout=reverse\fB
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.BI "--border" [=STYLE]
|
.BI "--border" [=BORDER_OPT]
|
||||||
Draw border around the finder
|
Draw border around the finder
|
||||||
|
|
||||||
.br
|
.br
|
||||||
.BR rounded " Border with rounded corners (default)"
|
.BR rounded " Border with rounded corners (default)"
|
||||||
.br
|
.br
|
||||||
.BR sharp " Border with sharp corners"
|
.BR sharp " Border with sharp corners"
|
||||||
.br
|
.br
|
||||||
.BR horizontal " Horizontal lines above and below the finder"
|
.BR horizontal " Horizontal lines above and below the finder"
|
||||||
.br
|
.br
|
||||||
.BR vertical " Vertical lines on each side of the finder"
|
.BR vertical " Vertical lines on each side of the finder"
|
||||||
.br
|
.br
|
||||||
.BR top
|
.BR top " (up)"
|
||||||
.br
|
.br
|
||||||
.BR bottom
|
.BR bottom " (down)"
|
||||||
.br
|
.br
|
||||||
.BR left
|
.BR left
|
||||||
.br
|
.br
|
||||||
|
@ -1228,9 +1228,9 @@ func parsePreviewWindow(opts *previewOpts, input string) {
|
|||||||
opts.border = tui.BorderHorizontal
|
opts.border = tui.BorderHorizontal
|
||||||
case "border-vertical":
|
case "border-vertical":
|
||||||
opts.border = tui.BorderVertical
|
opts.border = tui.BorderVertical
|
||||||
case "border-top":
|
case "border-up", "border-top":
|
||||||
opts.border = tui.BorderTop
|
opts.border = tui.BorderTop
|
||||||
case "border-bottom":
|
case "border-down", "border-bottom":
|
||||||
opts.border = tui.BorderBottom
|
opts.border = tui.BorderBottom
|
||||||
case "border-left":
|
case "border-left":
|
||||||
opts.border = tui.BorderLeft
|
opts.border = tui.BorderLeft
|
||||||
|
Loading…
Reference in New Issue
Block a user