tmux prints "1;2c" whenever I start it or re-attach to a session in cygwin

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


Solution 1:

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.