jesseduffield / lazydocker

The lazier way to manage everything docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when running inside tmux TERM=tmux256-color

yujinyuz opened this issue · comments

Describe the bug

When I run lazydocker, I get an error

$ lazydocker
2021/12/02 11:21:56 An error occurred! Please create an issue at https://github.com/jesseduffield/lazydocker/issues

*errors.errorString termbox: error while reading terminfo data: termbox: unsupported terminal
/home/circleci/project/main.go:88 (0x14a9f39)
/usr/local/go/src/runtime/proc.go:200 (0x102d1cc)
/usr/local/go/src/runtime/asm_amd64.s:1337 (0x1057ed1)

To Reproduce
Steps to reproduce the behavior:

  1. Set TERM to tmux256-color
curl -O https://gist.githubusercontent.com/nicm/ea9cf3c93f22e0246ec858122d9abea1/raw/37ae29fc86e88b48dbc8a674478ad3e7a009f357/tmux-256color
/usr/bin/tic -xe tmux-256color
  1. Run lazydocker

Expected behaviour
Should run inside tmux

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS
  • Lazydocker Version: 0.12

Additional context

As a work around, I can do TERM=xterm-kitty lazydocker

Closing as a duplicate of #225

ezoic increase your site revenue