Closed garymh closed 3 years ago
How did you get that $TERM
setting?
I just tried to just start tmux
on my Mac, and I got "screen
" as the $TERM
value, which worked fine.
So do you have any repro steps?
Regards /Johan
I'm actually setting that in my .tmux.conf
file. I think it was for a workaround with italics not working in NeoVim. I believe these are the relevant lines:
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ',xterm-256color:Tc'
Thanks for the background @garymh!
Digging a bit this turns out to have been reported in https://github.com/gdamore/tcell/issues/245, please add yourself to that ticket.
I'm using Tcell for drawing on the terminal (it's super nice!), and when they start supporting this I will as well.
I note also (to my surprise) that less
doesn't work with tmux-256color
either.
@walles just a heads up that at least for me less
works as expected with TERM
set to tmux-256color
(provided the appropriate terminfo
entry is installed)
Dependency now moved into https://github.com/gdamore/tcell/issues/372.
After that is done, I'll upgrade my dependency and this should be solved..
Now awaiting a release with tmux-256color
.
Neither 1.4.0
nor 2.0.0-dev
which are currently the most recent releases have it: https://github.com/gdamore/tcell/releases
Not validated.
@garymh, @nathanshelly, could either of you try the new 1.1 release and see if it works for you with that TERM
setting?
Can confirm v1.1 no longer crashes with TERM=tmux256-color
on my machine (v1.0 also doesn't crash, didn't bother to check any other releases).
Thanks for checking @nathanshelly!
And thank you for reporting @garymh!
@walles Working for me too- sorry for the late response! Thanks for the fix 😃
Hi! My error said to come report this:
Seems like theres a problem with some custom terminals...