m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-13 22:03:47 -05:00

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

This commit is contained in:
Junegunn Choi
2022-08-18 09:19:02 +09:00
parent 83515d5610
commit c1c355160d
3 changed files with 11 additions and 9 deletions

View File

@@ -1228,9 +1228,9 @@ func parsePreviewWindow(opts *previewOpts, input string) {
opts.border = tui.BorderHorizontal
case "border-vertical":
opts.border = tui.BorderVertical
case "border-top":
case "border-up", "border-top":
opts.border = tui.BorderTop
case "border-bottom":
case "border-down", "border-bottom":
opts.border = tui.BorderBottom
case "border-left":
opts.border = tui.BorderLeft