mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 11:09:17 -07:00
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()
|
|
}
|