Skip to content

Prevent line data from being discarded on resize.#616

Merged
parisk merged 1 commit intoxtermjs:masterfrom
LucianBuzzo:crop-lines
Mar 20, 2017
Merged

Prevent line data from being discarded on resize.#616
parisk merged 1 commit intoxtermjs:masterfrom
LucianBuzzo:crop-lines

Conversation

@LucianBuzzo
Copy link
Copy Markdown
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
Copy Markdown

Coverage Status

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

Copy link
Copy Markdown
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
Copy Markdown
Contributor

parisk commented Mar 20, 2017

Thanks for this @LucianBuzzo!

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

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

@parisk
Copy link
Copy Markdown
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
Copy Markdown
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.

5 participants