From 0e0b86834294e1befb9e1ce16239230aa40d1add Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 6 Jan 2025 00:44:59 +0900 Subject: Add preview border style 'line' It draws a single line between the preview window and the rest of the interface. i.e. automatically choose between 'left', 'right', 'top', and 'bottom' depending on the position of the preview window. --- src/options.go | 37 +++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 12 deletions(-) (limited to 'src/options.go') diff --git a/src/options.go b/src/options.go index f6b7245f..7db7418b 100644 --- a/src/options.go +++ b/src/options.go @@ -146,10 +146,12 @@ Usage: fzf [options] --preview-window=OPT Preview window layout (default: right:50%) [up|down|left|right][,SIZE[%]] [,[no]wrap][,[no]cycle][,[no]follow][,[no]info] - [,[no]hidden][,border-BORDER_OPT] + [,[no]hidden][,border-STYLE] [,+SCROLL[OFFSETS][/DENOM]][,~HEADER_LINES] [,default][,