lazydocker
lazydocker copied to clipboard
Issue with Ghostty terminal in a ssh session
Describe the bug A clear and concise description of what the bug is.
root@vmi1840719:~# lzd
2024/12/26 22:54:03 An error occurred! Please create an issue at https://github.com/jesseduffield/lazydocker/issues
*exec.ExitError exit status 1
/home/runner/work/lazydocker/lazydocker/main.go:96 (0x9397d7)
/opt/hostedtoolcache/go/1.21.13/x64/src/runtime/internal/atomic/types.go:194 (0x43bc1b)
/opt/hostedtoolcache/go/1.21.13/x64/src/runtime/asm_amd64.s:1650 (0x46b9e1)
To Reproduce Steps to reproduce the behavior:
- Use Ghostty 1.0.0
- ssh to a server
- start lazydocker
Expected behaviour No crash
Desktop (please complete the following information):
- OS:
Linux vmi1840719.contaboserver.net 5.15.0-105-generic #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux - Lazydocker Version
0.24.1
Additional context In a ssh session, it works on my local machine on macOS
workaround:
TERM=xterm-256color lazydocker
I also encountered this issue, what worked for me was copying Ghostty's Terminfo to the remote machine as their docs describe:
https://ghostty.org/docs/help/terminfo#copy-ghostty's-terminfo-to-a-remote-machine
The issue is probably with the missing Terminfo, though the error message from lazydocker could make this clearer.