diff --git a/tea.go b/tea.go index 7f56ac3..4ac3baf 100644 --- a/tea.go +++ b/tea.go @@ -188,9 +188,10 @@ func clearLine() { // Clear a given number of lines func clearLines(n int) { + clearLine() for i := 0; i < n; i++ { - clearLine() cursorPrevLine(1) + clearLine() } }