Colors for 'separator' and 'scrollbar' will default to that for 'border'

This commit is contained in:
Junegunn Choi
2023-01-01 17:38:34 +09:00
parent 5cd6f1d064
commit 435d8fa0a2
4 changed files with 40 additions and 35 deletions

View File

@@ -636,7 +636,7 @@ func NewTerminal(opts *Options, eventBox *util.EventBox) *Terminal {
}
if opts.Scrollbar == nil {
if t.unicode {
t.scrollbar = "" // Left one eighth block
t.scrollbar = ""
} else {
t.scrollbar = "|"
}