mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Add next line function in case we need it later
This commit is contained in:
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user