From 94ae50745bfb73ba46c7b8801c2f485bacc7a67c Mon Sep 17 00:00:00 2001 From: dcorral Date: Thu, 6 Nov 2025 22:02:28 +0100 Subject: [PATCH] xterm256 color --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)})