feat: add mergeindicators option (#2330)

* feat: add `mergeindicators` option

* docs: update `CHANGELOG.md`

* docs: add documentation

* style: fix typo

Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com>

---------

Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com>
This commit is contained in:
CatsDeservePetsandJoe Lim authored and GitHub committed 2025-12-31 07:36:31 +01:00
1 parent c1b979371a
commit 165c25b743
7 files changed
+67 -22

No files matched your search

+8
View File
@@ -299,6 +299,7 @@ The following options can be used to customize the behavior of lf:
menufmt string (default "\033[0m")
menuheaderfmt string (default "\033[1m")
menuselectfmt string (default "\033[7m")
mergeindicators bool (default false)
mouse bool (default false)
number bool (default false)
numberfmt string (default "\033[33m")
@@ -1098,6 +1099,13 @@ menuselectfmt (string) (default \033[7m)
Format string of the currently selected item in the menu.
mergeindicators (bool) (default false)
When mergeindicators is enabled, tag and selection indicators are drawn
in a single column to reduce the gap before filenames. If a file is both
tagged and selected, the tag uses the selection format (e.g. copyfmt)
instead of tagfmt.
mouse (bool) (default false)
Send mouse events as input.