feat: add terminalcursor option (#2441)

This commit is contained in:
CatsDeservePets authored and GitHub committed 2026-03-19 01:43:30 +01:00
1 parent 29baa994de
commit bf8486f617
7 files changed
+60 -1

No files matched your search

+6
View File
@@ -320,6 +320,7 @@ The following options can be used to customize the behavior of lf:
tabstop int (default 8)
tagfmt string (default "\033[31m")
tempmarks string (default '')
terminalcursor string (default 'default')
timefmt string (default 'Mon Jan _2 15:04:05 2006')
truncatechar string (default '~')
truncatepct int (default 100)
@@ -1250,6 +1251,11 @@ Marks to be considered temporary (e.g. `abc` refers to marks `a`, `b`, and `c`).
These marks are not synced to other clients and they are not saved in the bookmarks file.
Note that the special bookmark `` ` `` is always treated as temporary and it does not need to be specified.
## terminalcursor (string) (default `default`)
Set the appearance of the terminal cursor for prompts shown in the bottom line.
Currently supported values are `default`, `block`, `underline`, `bar`, `blinkblock`, `blinkunderline` and `blinkbar`.
## timefmt (string) (default `Mon Jan _2 15:04:05 2006`)
Format string of the file modification time shown in the bottom line.