summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-07-22 19:16:55 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-07-22 19:16:55 +0900
commit08027e7a79d49c7b1186a6e76415611d5b65b4e4 (patch)
treeabfe0a973b03182bf04667a5e5907636758103e5 /src
parentead302981cc9d9219e58c1517921e9f2d68a6b6e (diff)
downloadfzf-08027e7a79d49c7b1186a6e76415611d5b65b4e4.tar.gz
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.
Diffstat (limited to 'src')
-rw-r--r--src/options.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.go b/src/options.go
index 5cb9f14a..6cc13c46 100644
--- a/src/options.go
+++ b/src/options.go
@@ -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 {