Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add a startup warning if the TERM var is wrong inside tmux/screen #726
One of the most common and confusing issues we get in #irssi, this should help identifying and mitigating it.
Feel free to bikeshed the text of the message, not sure i'm entirely happy with it myself.
Out of scope concern: Starting my main irssi connects me to a trillion servers and this message would be lost up there, but the same thing applies to script load failures and other early-startup errors.
Oh hey totally forgot I wrote this. Saw the notification and thought "cool, someone wrote it for me".
I think it only exists since ncurses 6.0
So if you're asking for my opinion, I think my opinion is right :P
the "problem" is that italics only works in tmux if tmux sees that TERM is set to tmux, which is why we should preferably (also) recommend using tmux-* as a term for tmux (however you are right it is not universally available on all shells/systems yet)