Making irssi refresh work with tmux

The first time you try using irssi with tmux you might notice that on screens larger than 40 rows the refresh functionality does not work. This is a known not-really-an-issue tmux requires a particular term and is quite clear about it in the docs (if you read them I did not). Found the solution here, when you start tmux set the term for it correctly:

alias irssi='TERM=screen-256color irssi'

9 thoughts on “Making irssi refresh work with tmux”

  1. Thanks for this. I was scratching my head over this issue since it only recently broke for me. (I changed my default TERM line in tmux). This fixed it perfectly.

  2. Finally something that works. Have had the same problem with vimpc. Started using irssi very recently and didn’t want to have another separate window just because it didn’t refresh correctly. In irssi I was getting by ctrl+l to refresh. But this worked liked charm. Thanks!

  3. Thank you so much! I was having so much trouble with this, trying to find proper words for google. This worked perfectly. *Thumbs up*

  4. Thank you for this, I’ve been wondering why I was unable to scrollup and have irssi refresh the whole page… Now it’s working – a little late though 🙂

  5. I used this:
    set -g default-terminal “screen-256color”
    on my .tmux.conf and it worked correctly for all my use cases, instead of setting an alias just for irssi.

Leave a Reply to Aaron Cancel reply

Your email address will not be published. Required fields are marked *