mirror of
https://github.com/junegunn/fzf.git
synced 2026-08-13 12:33:44 +02:00
Prefer LightRenderer over tcell on Windows
For mouse support on mintty Fix #3847
This commit is contained in:
parent
0684a20ea3
commit
dca2262fe6
1 changed files with 1 additions and 1 deletions
|
|
@ -711,7 +711,7 @@ func NewTerminal(opts *Options, eventBox *util.EventBox, executor *util.Executor
|
|||
}
|
||||
}
|
||||
if fullscreen {
|
||||
if tui.HasFullscreenRenderer() {
|
||||
if !tui.IsLightRendererSupported() {
|
||||
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue