mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Move ansi helpers to termenv
This commit is contained in:
@@ -2,11 +2,13 @@
|
||||
|
||||
package tea
|
||||
|
||||
import "github.com/muesli/termenv"
|
||||
|
||||
func initTerminal() error {
|
||||
hideCursor()
|
||||
termenv.HideCursor()
|
||||
return nil
|
||||
}
|
||||
|
||||
func restoreTerminal() {
|
||||
showCursor()
|
||||
termenv.ShowCursor()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user