Skip to content
Myr

Revert "Prefer LightRenderer over tcell on Windows"

Before adoption: this commit came in with the history the project adopted, so no landing records it.

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

authored by Junegunn Choi · committed by Junegunn Choi · parent 62545cd · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/terminal.go+1 added-1 removed
726 unmodified lines
727 return nil, err728 }729 }730 if fullscreen {731 if !tui.IsLightRendererSupported() {731 if tui.HasFullscreenRenderer() {732 renderer = tui.NewFullscreenRenderer(opts.Theme, opts.Black, opts.Mouse)733 } else {734 renderer, err = tui.NewLightRenderer(ttyin, opts.Theme, opts.Black, opts.Mouse, opts.Tabstop, opts.ClearOnExit,735 true, func(h int) int { return h })
4292 unmodified lines