feat: add borderstyle option (#2445)

This commit is contained in:
CatsDeservePets authored and GitHub committed 2026-03-21 02:49:09 +01:00
1 parent d85070f69d
commit f1a1097db5
11 files changed
+184 -84

No files matched your search

+16 -8
View File
@@ -1,6 +1,6 @@
.\" Automatically generated by Pandoc 3.7.0.2
.\"
.TH "LF" "1" "2026\-03\-19" "r42" "DOCUMENTATION"
.TH "LF" "1" "2026\-03\-21" "r42" "DOCUMENTATION"
.SH NAME
lf \- terminal file manager
.SH SYNOPSIS
@@ -280,6 +280,7 @@ The following options can be used to customize the behavior of lf:
anchorfind bool (default true)
autoquit bool (default true)
borderfmt string (default \(dq\(rs033[0m\(dq)
borderstyle string (default \(aqbox\(aq)
cleaner string (default \(aq\(aq)
copyfmt string (default \(dq\(rs033[7;33m\(dq)
cursoractivefmt string (default \(dq\(rs033[7m\(dq)
@@ -325,7 +326,6 @@ promptfmt string (default \(dq\(rs033[32;1m%u\(at%h\(rs033[0m:\(rs033
ratios []int (default \(aq1:2:3\(aq)
relativenumber bool (default false)
reverse bool (default false)
roundbox bool (default false)
rulerfile string (default \(dq\(dq)
rulerfmt string (default \(dq\(dq)
scrolloff int (default 0)
@@ -814,8 +814,19 @@ position.
.SS autoquit (bool) (default true)
Automatically quit the server when there are no clients left connected.
.SS borderfmt (string) (default \f[CR]\(rs033[0m\f[R])
Format string of the box drawing characters enabled by the
\f[CR]drawbox\f[R] option.
Format string of border characters.
.SS borderstyle (string) (default \f[CR]box\f[R])
Border style used by \f[CR]drawbox\f[R].
.PP
The following styles are supported:
.IP
.EX
box outline around all panes and separators between them
roundbox like \(gabox\(ga, but with rounded outer corners
outline outline around all panes
roundoutline like \(gaoutline\(ga, but with rounded outer corners
separators separators between panes
.EE
.SS cleaner (string) (default \(ga\(ga) (not called if empty)
Set the path of a cleaner file.
The file should be executable.
@@ -873,7 +884,7 @@ Show only directories.
If enabled, directories will also be passed to the previewer script.
This allows custom previews for directories.
.SS drawbox (bool) (default false)
Draw boxes around panes with box drawing characters.
Draw borders around panes using box drawing characters.
.SS dupfilefmt (string) (default \f[CR]%f.\(ti%n\(ti\f[R])
Format string of filename when creating duplicate files.
With the default format, copying a file \f[CR]abc.txt\f[R] to the same
@@ -1070,9 +1081,6 @@ When \f[CR]number\f[R] is enabled, the current line shows the absolute
position, otherwise nothing is shown.
.SS reverse (bool) (default false)
Reverse the direction of sort.
.SS roundbox (bool) (default false)
Draw rounded outer corners when the \f[CR]drawbox\f[R] option is
enabled.
.SS rulerfile (string) (default \(ga\(ga)
Set the path of the ruler file.
If not set, then a default template will be used for the ruler.