forked from Mirrors/bubbletea
Add next line function in case we need it later
This commit is contained in:
parent
fe42b5c4a7
commit
0c8e2ea5a0
5
tea.go
5
tea.go
|
@ -169,6 +169,11 @@ func showCursor() {
|
||||||
fmt.Printf(esc + "?25h")
|
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
|
// Move the cursor up a given number of lines
|
||||||
func cursorUp(n int) {
|
func cursorUp(n int) {
|
||||||
fmt.Printf(esc+"%dF", n)
|
fmt.Printf(esc+"%dF", n)
|
||||||
|
|
Loading…
Reference in New Issue