Skip to content
Myr

Fix a bug where the top line wasn't being cleared on render

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

authored by Christian Rocha · committed by Christian Rocha · parent da9de0c · Browse files · 1 file+2 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+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:tea.go+2 added-1 removed
186 unmodified lines
187}188189// Clear a given number of lines190func clearLines(n int) {191 clearLine()192 for i := 0; i < n; i++ {192 clearLine()193 cursorPrevLine(1)194 clearLine()195 }196}197198// ClearScreen clears the visible portion of the terminal
3 unmodified lines