Revert "Prefer LightRenderer on Windows if it's available"

This reverts commit 7915e365b3
due to https://github.com/junegunn/fzf.vim/issues/1152#issuecomment-719696495.
This commit is contained in:
Junegunn Choi committed 2020-10-31 02:53:10 +09:00
1 parent 7915e365b3
commit f8aaeef218
3 files changed
+11 -3

No files matched your search

+4
View File
@@ -6,6 +6,10 @@ package tui
type Attr int
func HasFullscreenRenderer() bool {
return false
}
func (a Attr) Merge(b Attr) Attr {
return a | b
}
+4
View File
@@ -15,6 +15,10 @@ import (
"github.com/mattn/go-runewidth"
)
func HasFullscreenRenderer() bool {
return true
}
func (p ColorPair) style() tcell.Style {
style := tcell.StyleDefault
return style.Foreground(tcell.Color(p.Fg())).Background(tcell.Color(p.Bg()))