bubbletea/tty_windows.go

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()
}