forked from Mirrors/bubbletea
15 lines
182 B
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()
|
|
}
|