Add next line function in case we need it later

This commit is contained in:
Christian Rocha
2020-01-15 23:04:53 -05:00
parent fe42b5c4a7
commit 0c8e2ea5a0

5
tea.go
View File

@@ -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)