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 reflow case where wrapped line portions ended in \t #2002

Merged
merged 6 commits into from
Apr 8, 2019

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Apr 7, 2019

Fixes #1932


The tests explain the problem pretty well, the tricky thing here was fixing this issue while still keeping the correct behavior of moving wide characters to the following line which is why the fix is more complex than one would expect.

@Tyriar Tyriar added this to the 3.13.0 milestone Apr 7, 2019
@Tyriar Tyriar self-assigned this Apr 7, 2019
@akosyakov
Copy link

akosyakov commented Apr 8, 2019

I still can reproduce issues with demo:
reflow

I'm resizing from 10 to 82 cols and back several times and getting strange ouput. Do i do something wrong?

@Tyriar
Copy link
Member Author

Tyriar commented Apr 8, 2019

@akosyakov other terminals do things like that when you resize into the prompt when I tested, we're just doing what the shell is telling us. You're not seeing the exception that could brick the terminal though right?

@akosyakov
Copy link

@Tyriar no errors in dev console

@Tyriar Tyriar merged commit 5476f4c into xtermjs:master Apr 8, 2019
@Tyriar Tyriar deleted the 1932_broken_reflow branch April 8, 2019 22:59
@Tyriar Tyriar modified the milestones: 3.13.0, 3.12.1 May 9, 2019
@Tyriar Tyriar mentioned this pull request May 10, 2019
10 tasks
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.

TypeError: Cannot read property '_data' of undefined
2 participants