tty.js icon indicating copy to clipboard operation
tty.js copied to clipboard

tmux THEN resize window works, resize window THEN tmux does not

Open avelicu opened this issue 11 years ago • 4 comments

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) tmux-bad tmux-good

avelicu avatar Mar 04 '14 11:03 avelicu

i hereby confirm this behavior. (arch linux, chrome) i've got the same issue with vim, htop and some other applications using ncurses

GottZ avatar Sep 09 '14 14:09 GottZ

solution is here: https://github.com/chjj/term.js/pull/13

GottZ avatar Dec 03 '14 09:12 GottZ

@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 avatar Jan 13 '15 03:01 Lakshmipathi

@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.

GottZ avatar Feb 04 '15 16:02 GottZ