Support custom colors for drawbox characters (#1251)

This commit is contained in:
Joe Lim authored and GitHub committed 2023-05-20 17:53:05 +03:00
1 parent 1be7d2689a
commit 3b942a8a39
8 files changed
+31 -1

No files matched your search

+2
View File
@@ -30,6 +30,7 @@ type sortType struct {
var gOpts struct {
anchorfind bool
autoquit bool
borderfmt string
cursoractivefmt string
cursorparentfmt string
cursorpreviewfmt string
@@ -94,6 +95,7 @@ func init() {
gOpts.dironly = false
gOpts.dirpreviews = false
gOpts.drawbox = false
gOpts.borderfmt = "\033[0m"
gOpts.cursoractivefmt = "\033[7m"
gOpts.cursorparentfmt = "\033[7m"
gOpts.cursorpreviewfmt = "\033[4m"