Support custom colors for drawbox characters (#1251)
This commit is contained in:
1 parent
1be7d2689a
commit
3b942a8a39
8 files changed
+31
-1
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user