Add options for customizing the appearance of the menu (#2123)

* Refactor for loop

* Save menu selection

* Add options to customize menu style

* Add documentation
This commit is contained in:
Joe Lim authored and GitHub committed 2025-08-27 19:49:07 +10:00
1 parent f2d2bb0f2c
commit 7297e4f522
7 files changed
+87 -24

No files matched your search

+10 -1
View File
@@ -1,6 +1,6 @@
.\" Automatically generated by Pandoc 3.7.0.2
.\"
.TH "LF" "1" "2025\-08\-26" "r37" "DOCUMENTATION"
.TH "LF" "1" "2025\-08\-27" "r37" "DOCUMENTATION"
.SH NAME
lf \- terminal file manager
.SH SYNOPSIS
@@ -182,6 +182,9 @@ incsearch bool (default false)
info []string (default \(aq\(aq)
infotimefmtnew string (default \(aqJan _2 15:04\(aq)
infotimefmtold string (default \(aqJan _2 2006\(aq)
menufmt string (default \(dq\(rs033[0m\(dq)
menuheaderfmt string (default \(dq\(rs033[1m\(dq)
menuselectfmt string (default \(dq\(rs033[7m\(dq)
mouse bool (default false)
number bool (default false)
numberfmt string (default \(dq\(rs033[33m\(dq)
@@ -808,6 +811,12 @@ this year.
.SS infotimefmtold (string) (default \f[CR]Jan _2 2006\f[R])
Format string of the file time shown in the info column when it
doesn\(aqt match this year.
.SS menufmt (string) (default \f[CR]\(rs033[0m\f[R])
Format string of the menu.
.SS menuheaderfmt (string) (default \f[CR]\(rs033[1m\f[R])
Format string of the header row in the menu.
.SS menuselectfmt (string) (default \f[CR]\(rs033[7m\f[R])
Format string of the currently selected item in the menu.
.SS mouse (bool) (default false)
Send mouse events as input.
.SS number (bool) (default false)