mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-30 11:04:50 +00:00
parent
95fea064b0
commit
f3b21362f3
1 changed files with 2 additions and 1 deletions
|
|
@ -46,7 +46,8 @@ func init() {
|
|||
fmt.Println("Invalid version: ", Version, err)
|
||||
}
|
||||
|
||||
if runtime.GOOS == "windows" {
|
||||
_, wt := os.LookupEnv("WT_SESSION")
|
||||
if runtime.GOOS == "windows" && !wt {
|
||||
FakeCursor = true
|
||||
}
|
||||
Stdout = new(bytes.Buffer)
|
||||
|
|
|
|||
Loading…
Reference in a new issue