diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-07-26 01:35:24 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-07-26 01:43:21 +0900 |
| commit | 559fb7ee4552312f59a4bbe428199db9f5aa1247 (patch) | |
| tree | ba95abd8a065e1ba44a26c7fa8cd7d6e61004353 /src | |
| parent | 62545cd983ac0121f6ca591bd8dfee70eee228e1 (diff) | |
| download | fzf-559fb7ee4552312f59a4bbe428199db9f5aa1247.tar.gz | |
Revert "Prefer LightRenderer over tcell on Windows"
This reverts commit dca2262fe6f8d7c4a9264464e45d44e684d0e70b.
> For mouse support on mintty
> Fix #3847
The current implementation LightRenderer for Windows is unable to accept
non-ASCII input unlike the tcell renderer. So even though it supports
mouse on mintty, we shouldn't use it as the default.
* #3799
* #3847
Diffstat (limited to 'src')
| -rw-r--r-- | src/terminal.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal.go b/src/terminal.go index 302a5347..f43bb8e9 100644 --- a/src/terminal.go +++ b/src/terminal.go @@ -728,7 +728,7 @@ func NewTerminal(opts *Options, eventBox *util.EventBox, executor *util.Executor } } if fullscreen { - if !tui.IsLightRendererSupported() { + if tui.HasFullscreenRenderer() { renderer = tui.NewFullscreenRenderer(opts.Theme, opts.Black, opts.Mouse) } else { renderer, err = tui.NewLightRenderer(ttyin, opts.Theme, opts.Black, opts.Mouse, opts.Tabstop, opts.ClearOnExit, |
