Rounded Corners (#1653)

* add option to draw outer corners rounded

* gofmt

---------

Co-authored-by: Gökçehan Kara <gokcehankara@gmail.com>
This commit is contained in:
J-KappesandGökçehan Kara authored and GitHub committed 2024-04-07 15:36:54 +02:00
1 parent f507b618c9
commit 647fa469fb
6 files changed
+29 -4

No files matched your search

+5
View File
@@ -181,6 +181,7 @@ The following options can be used to customize the behavior of lf:
ratios []int (default '1:2:3')
relativenumber bool (default false)
reverse bool (default false)
roundbox bool (default false)
ruler []string (default 'acc:progress:selection:filter:ind')
rulerfmt string (default " %a| %p| \033[7;31m %m \033[0m| \033[7;33m %c \033[0m| \033[7;35m %s \033[0m| \033[7;34m %f \033[0m| %i/%t")
scrolloff int (default 0)
@@ -889,6 +890,10 @@ When `number` is enabled, the current line shows the absolute position, otherwis
Reverse the direction of sort.
## roundbox (bool) (default false)
Draw rounded outer corners when the `drawbox` option is enabled.
## ruler ([]string) (default `acc:progress:selection:filter:ind`)
This option is deprecated in favor of using the `rulerfmt` option (see below).