Skip to content
Myr

Fix --height on Windows

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

authored by Junegunn Choi · committed by Junegunn Choi · parent 555b0d2 · Browse files · 1 file+1 added−2 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−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:src/tui/light_windows.go+1 added-2 removed
95 unmodified lines
96 return nil, nil97}9899func openTtyOut() (*os.File, error) {100 // not used101 return nil, nil100 return os.Stderr, nil101}102103func (r *LightRenderer) setupTerminal() error {104 if err := windows.SetConsoleMode(windows.Handle(r.outHandle), consoleFlagsOutput); err != nil {
53 unmodified lines