mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-14 14:23:47 -05:00
Fix --no-header-lines-border behavior
It should be different from --header-lines-border=none according to the man page. It should merge two headers unlike the latter.
This commit is contained in:
@@ -2924,7 +2924,7 @@ func parseOptions(index *int, opts *Options, allArgs []string) error {
|
||||
return err
|
||||
}
|
||||
case "--no-header-lines-border":
|
||||
opts.HeaderLinesShape = tui.BorderNone
|
||||
opts.HeaderLinesShape = tui.BorderUndefined
|
||||
case "--header-lines-border":
|
||||
hasArg, arg := optionalNextString()
|
||||
if opts.HeaderLinesShape, err = parseBorder(arg, !hasArg); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user