summaryrefslogtreecommitdiffstats
path: root/src/tui/tcell.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/tui/tcell.go')
-rw-r--r--src/tui/tcell.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tui/tcell.go b/src/tui/tcell.go
index e66ed2f0..0c80de2b 100644
--- a/src/tui/tcell.go
+++ b/src/tui/tcell.go
@@ -3,6 +3,7 @@
package tui
import (
+ "os"
"time"
"unicode/utf8"
@@ -140,6 +141,9 @@ func (r *FullscreenRenderer) initScreen() {
}
func (r *FullscreenRenderer) Init() {
+ if os.Getenv("TERM") == "cygwin" {
+ os.Setenv("TERM", "")
+ }
encoding.Register()
r.initScreen()