Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Setup: tmux 1.8 running on Ubuntu 12.04 connecting from Windows with Putty. tmux has mouse mode on.

Steps to reproduce: Select the putty window as active, but use the mouse off the window (i.e in another window) Typically this happens when I am scrolling in another application on another monitor but forgot to switch the mouse focus.Also, this only happens if the putty window is large or maximized.

Issue: Junk commands get dumped into tmux (e.g 7#, H#, 7a etc.) If I scroll off window with only PuTTY (no tmux) the screen scrolls as expected.

Here's an screenshot of this

Update: I have determined that this happens if my putty window is has >= 224 columns

share|improve this question
up vote 1 down vote accepted

This is now resolved by Nicholas Marriott - tmux's author - with the patch at

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.