bubbletea/tty_windows.go

15 lines
182 B
Go
Raw Normal View History

// +build windows
package tea
2020-01-31 07:47:36 -05:00
import "github.com/muesli/termenv"
func initTerminal() error {
2020-01-31 07:47:36 -05:00
termenv.HideCursor()
return nil
}
func restoreTerminal() {
2020-01-31 07:47:36 -05:00
termenv.ShowCursor()
}