tmux THEN resize window works, resize window THEN tmux does not
Just trying out tmux on OSX 10.9.2. It works great except for one strange quirk:
If I open a new terminal (at the default 80x25), start tmux, and then resize or maximize the terminal, everything is fine, as in the first screenshot.
However, if I open a new terminal, resize it and then run tmux, it is not working properly, as in the second screenshot.
I am using tmux 1.8_1 from MacPorts and tty.js from NPM.
Am I doing something wrong? :)
(I know you can see large window numbers in the screenshots, but I have verified this problem with fresh tmux sessions as well)

i hereby confirm this behavior. (arch linux, chrome) i've got the same issue with vim, htop and some other applications using ncurses
solution is here: https://github.com/chjj/term.js/pull/13
@GottZ , Did that fix work for you with tty.js ? I'm still seeing this issue even after apply that fix with tty.js
@Lakshmipathi yup. for me it did the fix. sadly i have not got my homeserver up and running right now so i cannot diff if i have made other changes aswell. i will provide feedback in some days.