m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 15:53:39 -05:00

Drop ncurses dependency

Close #818
This commit is contained in:
Junegunn Choi
2017-01-22 14:13:37 +09:00
parent 6ccc12c332
commit ff248d566d
11 changed files with 135 additions and 22 deletions

View File

@@ -15,6 +15,10 @@ import (
"github.com/junegunn/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()))