mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-04-06 17:21:51 +00:00
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
This commit is contained in:
parent
62545cd983
commit
559fb7ee45
@ -728,7 +728,7 @@ func NewTerminal(opts *Options, eventBox *util.EventBox, executor *util.Executor
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if fullscreen {
|
if fullscreen {
|
||||||
if !tui.IsLightRendererSupported() {
|
if tui.HasFullscreenRenderer() {
|
||||||
renderer = tui.NewFullscreenRenderer(opts.Theme, opts.Black, opts.Mouse)
|
renderer = tui.NewFullscreenRenderer(opts.Theme, opts.Black, opts.Mouse)
|
||||||
} else {
|
} else {
|
||||||
renderer, err = tui.NewLightRenderer(ttyin, opts.Theme, opts.Black, opts.Mouse, opts.Tabstop, opts.ClearOnExit,
|
renderer, err = tui.NewLightRenderer(ttyin, opts.Theme, opts.Black, opts.Mouse, opts.Tabstop, opts.ClearOnExit,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user