Files
bubbletea/tty_windows.go
Christian Muehlhaeuser f382f4db4a Move ansi helpers to termenv
2020-01-31 13:52:20 +01:00

15 lines
182 B
Go

// +build windows
package tea
import "github.com/muesli/termenv"
func initTerminal() error {
termenv.HideCursor()
return nil
}
func restoreTerminal() {
termenv.ShowCursor()
}