Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After vim execution, terminal rows fixed to 80 whatever I set #111

Closed
trainto opened this issue Feb 15, 2016 · 1 comment
Closed

After vim execution, terminal rows fixed to 80 whatever I set #111

trainto opened this issue Feb 15, 2016 · 1 comment

Comments

@trainto
Copy link

trainto commented Feb 15, 2016

I'm developing SSH terminal desktop application using term.js, SSH2 node module, and electron.
I created a terminal like below,

var term = new Terminal({ cols: 140, rows: 40, useStyle: true, screenKeys: true, cursorBlink: true });
image

The terminal uses 40 rows, but after vim execution like below,
image

image

The terminal uses only 24 rows as default set.

It might be because of my lack of knowledge about term.js, but I was wondering that could anyone give me any comment on this?

@trainto
Copy link
Author

trainto commented Feb 18, 2016

I've figured out what went wrong. I leave a comment just in case.

I'm applying SSH2 with term.js, and problem was I did not specify term:'xterm' to Client of SSH2. I put xterm option as parameter of SSH2 shell and it went well.

@trainto trainto closed this as completed Feb 18, 2016
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

No branches or pull requests

1 participant