2020-01-25 01:15:29 -05:00
|
|
|
// +build windows
|
|
|
|
|
2020-05-12 16:39:08 -04:00
|
|
|
package boba
|
2020-01-25 01:15:29 -05:00
|
|
|
|
2020-01-31 07:47:36 -05:00
|
|
|
import "github.com/muesli/termenv"
|
|
|
|
|
2020-01-25 01:15:29 -05:00
|
|
|
func initTerminal() error {
|
2020-01-31 07:47:36 -05:00
|
|
|
termenv.HideCursor()
|
2020-01-25 01:15:29 -05:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func restoreTerminal() {
|
2020-01-31 07:47:36 -05:00
|
|
|
termenv.ShowCursor()
|
2020-01-25 01:15:29 -05:00
|
|
|
}
|