diff --git a/main.go b/main.go index b251be0..708fc82 100644 --- a/main.go +++ b/main.go @@ -130,7 +130,7 @@ func handleChannel(channel ssh.Channel, requests <-chan *ssh.Request) { command = "/app/tui" } cmd := exec.Command(command) - cmd.Env = []string{"PATH=/bin", "TERM=xterm"} + cmd.Env = []string{"PATH=/bin", "TERM=xterm-256color"} cmd.Dir = "/" var err error ptmx, err = pty.StartWithSize(cmd, &pty.Winsize{Cols: uint16(termWidth), Rows: uint16(termHeight)})