Skip to content

Commit 559fb7e

Browse files
committed
Revert "Prefer LightRenderer over tcell on Windows"
This reverts commit dca2262. > 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
1 parent 62545cd commit 559fb7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/terminal.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ func NewTerminal(opts *Options, eventBox *util.EventBox, executor *util.Executor
728728
}
729729
}
730730
if fullscreen {
731-
if !tui.IsLightRendererSupported() {
731+
if tui.HasFullscreenRenderer() {
732732
renderer = tui.NewFullscreenRenderer(opts.Theme, opts.Black, opts.Mouse)
733733
} else {
734734
renderer, err = tui.NewLightRenderer(ttyin, opts.Theme, opts.Black, opts.Mouse, opts.Tabstop, opts.ClearOnExit,

0 commit comments

Comments
 (0)