bubbletea/tty_windows.go

15 lines
183 B
Go
Raw Normal View History

// +build windows
2020-05-12 16:39:08 -04:00
package boba
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()
}