bubbletea/tty_windows.go

15 lines
183 B
Go

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