xterm256 color
All checks were successful
Build, Test and Push Docker Image / e2e-test (push) Successful in 9s
Build, Test and Push Docker Image / build-and-push (push) Successful in 16s

This commit is contained in:
2025-11-06 22:02:28 +01:00
parent 891e5e0d1b
commit 94ae50745b

View File

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