-
-
Notifications
You must be signed in to change notification settings - Fork 575
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
changing numChars manually with settings() #353
Comments
The setting numChars was just a hack to make test from jasmine node work becuase there are no css there to make width of the terminal so I've created that option to set number of chars. I didn't know it even work outside of tests. Maybe I should not put it in docs. |
there are two problems. first it doesn't correctly return actual num chars per line. (maybe because of custom css)
cost 30 ms in my chorme brower per terminal . so image if i have 16 terminals on screen. not too good for User expirience. |
I've put character size check in font resizer so it will fire only when you change font. |
And fixed the requested bug with command line resize on settings.numChars + terminal.resize, didn't get what you wanted first time I've read the issue. |
The change is in version 1.11.0 |
Expected behavior
Actual behavior
Steps to reproduce
when changing numChars manually with settings(). and then perform resize(). terminal doesn't recalculate max new num chars for command prompt value.
Browser and OS
The text was updated successfully, but these errors were encountered: