omerxx / tmux-sessionx

A Tmux session manager, with preview, fuzzy finding, and MORE
GNU General Public License v3.0
554 stars 51 forks source link

Rename fails due to "missing or unsuitable terminal" #115

Open callumbirks opened 4 weeks ago

callumbirks commented 4 weeks ago

When attempting to rename a session in the sessionx popup, it fails with an error: missing or unsuitable terminal: tmux-256colorscreen-256color. My tmux config has:

set-option -gas terminal-overrides ",*:Tc"
set -gas default-terminal "screen-256color"

My terminal's 'term' is also set to screen-256color, and the output of echo $TERM is

screen-256color
callumbirks commented 3 weeks ago

I tested this on both MacOS and PopOS, same result. I'm using WezTerm on both.

omerxx commented 3 weeks ago

Could be due to the alternate tmux terminal lack of support. I'd suggest a export TERM=xterm but I think we should find a better rename option. Couldn't find one so far...

callumbirks commented 3 weeks ago

I haven't looked at the code at all but I'll have a look and see if I can find any other options