m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00

Prefer LightRenderer on Windows if it's available

Fix #1766
This commit is contained in:
Junegunn Choi
2020-10-31 01:41:57 +09:00
parent 1c68f81c37
commit 7915e365b3
3 changed files with 3 additions and 11 deletions

View File

@@ -6,10 +6,6 @@ package tui
type Attr int
func HasFullscreenRenderer() bool {
return false
}
func (a Attr) Merge(b Attr) Attr {
return a | b
}

View File

@@ -15,10 +15,6 @@ 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()))