Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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? –  Enrico Feb 7 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 at 15:55
1  
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 at 9:43

1 Answer 1

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

Your Answer

 
discard

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.