Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

If I run tmux from my cygwin bash shell it prints 1;2c on my prompt after tmux launches. If I attach to a session I had open earlier using tmux attach-session it does the same thing. If I had vim open in that session it will act as if I had typed 1;2c in vim.

I made my .bashrc empty so I know it's being caused by tmux, not my bash settings.

Here is my .tmux.conf

share|improve this question
How did you install tmux in cygwin? – enricoferrero Feb 7 '14 at 8:18
You can install it from source if you install libevent (and maybe ncurses?) from source too. Just google for instructions and you'll find several posts. The change happened after 1.8 so you need the latest trunk from sourceforge. – Philip Feb 7 '14 at 15:55
tmux 1.9a1 is now available as a pre-built package in Cygwin. However, this problem is still present using the latest libevent 2.0.21. This SE question has been linked in the cygwin mailing list. Hopefully the issue will be solved soon. – Kal Mar 5 '14 at 9:43
up vote 4 down vote accepted

There must be a race condition in tmux on cygwin, because changing escape-time from 0 to 1 fixes it for me most of the time.

For values above 50ms this issue never appears again.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .