Skip to content
Myr

Prefer LightRenderer over tcell on Windows

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

For mouse support on mintty Fix #3847

authored by Junegunn Choi · committed by Junegunn Choi · parent 0684a20 · 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
709 unmodified lines
710 return nil, err711 }712 }713 if fullscreen {714 if tui.HasFullscreenRenderer() {714 if !tui.IsLightRendererSupported() {715 renderer = tui.NewFullscreenRenderer(opts.Theme, opts.Black, opts.Mouse)716 } else {717 renderer, err = tui.NewLightRenderer(ttyin, opts.Theme, opts.Black, opts.Mouse, opts.Tabstop, opts.ClearOnExit,718 true, func(h int) int { return h })
4026 unmodified lines