Skip to content

htop command cannot resize with env.LINES and env.COLUMNS - #117

Merged
chjj merged 1 commit into
chjj:masterfrom
vangie:fix_htop_incorrect_resize
Aug 2, 2015
Merged

chjj merged 1 commit into
chjj:masterfrom
vangie:fix_htop_incorrect_resize

Conversation

@vangie

@vangie vangie commented Apr 6, 2015

Copy link
Copy Markdown
Contributor

I have use pty.js to write a web-based terminal, when I resize windows size on browser, resize event send back over websocket, then invoke pty's resize method. It is correct with vim and top. the htop command hasn't respond to resize event, expect exit and restart the command.

If i comment the env.LINES and env.COLUMNS , everything is right.

chjj added a commit that referenced this pull request Aug 2, 2015
htop command cannot resize with env.LINES and env.COLUMNS
@chjj
chjj merged commit b587bc6 into chjj:master Aug 2, 2015
ddm pushed a commit to ddm/pty.js that referenced this pull request Nov 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants