diff --git a/tea.go b/tea.go index cc042d7..044d914 100644 --- a/tea.go +++ b/tea.go @@ -169,6 +169,11 @@ func showCursor() { fmt.Printf(esc + "?25h") } +// Move the cursor up a given number of lines +func cursorDown(n int) { + fmt.Printf(esc+"%dE", n) +} + // Move the cursor up a given number of lines func cursorUp(n int) { fmt.Printf(esc+"%dF", n)