From 0c8e2ea5a054e35764df6c2fc6cd0c019f00cade Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Wed, 15 Jan 2020 23:04:53 -0500 Subject: [PATCH] Add next line function in case we need it later --- tea.go | 5 +++++ 1 file changed, 5 insertions(+) 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)