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

Fix "term.fit is not a function" error when change padding value in the demo #3136

Merged
merged 1 commit into from
Oct 30, 2020

Conversation

kena0ki
Copy link
Contributor

@kena0ki kena0ki commented Oct 21, 2020

When we change a padding value in the demo, a console error occurs and xterm is not correctly fitted.
termfit

I replaced function call from term.fit() to addons.fit.instance.fit().

Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Tyriar Tyriar added this to the 4.10.0 milestone Oct 30, 2020
@Tyriar Tyriar merged commit 02e4db4 into xtermjs:master Oct 30, 2020
@kena0ki kena0ki deleted the termfit branch November 15, 2020 06:22
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