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

Prevent line data from being discarded on resize. #616

Merged
merged 1 commit into from
Mar 20, 2017
Merged

Prevent line data from being discarded on resize. #616

merged 1 commit into from
Mar 20, 2017

Conversation

LucianBuzzo
Copy link
Contributor

@LucianBuzzo LucianBuzzo commented Mar 19, 2017

One of the core issues I'm trying to address in this PR #609 is that xterm.js will discard line data when resizing to smaller widths. As the discussion around reflow behaviour and architecture is still ongoing and may be for some time yet, I'm submitting this PR as an interim fix.
This PR prevents the character discard and uses behaviour similar to hyperterm.

linepreserve

@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 67.971% when pulling cb77b9d on LucianBuzzo:crop-lines into 0723dac on sourcelair:master.

Copy link
Contributor

@parisk parisk left a comment

Choose a reason for hiding this comment

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

Code LGTM and works great 👍

@parisk
Copy link
Contributor

parisk commented Mar 20, 2017

Thanks for this @LucianBuzzo!

@parisk parisk merged commit 045f361 into xtermjs:master Mar 20, 2017
@blink1073
Copy link
Contributor

@parisk, is it possible to cut a bug fix release with this change?

@parisk
Copy link
Contributor

parisk commented Mar 20, 2017

@blink1073 this cannot happen, since we have pushed several commits with "new features" after we issued the release, so this wouldn't be a pure bugfix release.

You can either clone the repo and build it on your own, or just wait until the first week of April, for the 2.5 release.

@blink1073
Copy link
Contributor

No worries, had to ask 😉. Thanks!

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.

None yet

5 participants