diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2020-10-31 02:53:10 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2020-10-31 02:53:10 +0900 |
| commit | f8aaeef218174989c9631f5d5fc6cebaac4b8c66 (patch) | |
| tree | 8dcad8b06f0e661a22e266dc199e6052f2aa07e4 /src/tui | |
| parent | 7915e365b364af4c4287e35f4697f6e3cfe33284 (diff) | |
| download | fzf-f8aaeef218174989c9631f5d5fc6cebaac4b8c66.tar.gz | |
Revert "Prefer LightRenderer on Windows if it's available"
This reverts commit 7915e365b364af4c4287e35f4697f6e3cfe33284
due to https://github.com/junegunn/fzf.vim/issues/1152#issuecomment-719696495.
Diffstat (limited to 'src/tui')
| -rw-r--r-- | src/tui/dummy.go | 4 | ||||
| -rw-r--r-- | src/tui/tcell.go | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/tui/dummy.go b/src/tui/dummy.go index f78a1c27..ca50e655 100644 --- a/src/tui/dummy.go +++ b/src/tui/dummy.go @@ -6,6 +6,10 @@ package tui type Attr int +func HasFullscreenRenderer() bool { + return false +} + func (a Attr) Merge(b Attr) Attr { return a | b } diff --git a/src/tui/tcell.go b/src/tui/tcell.go index 3fd81323..4f80d069 100644 --- a/src/tui/tcell.go +++ b/src/tui/tcell.go @@ -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())) |
