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

Double wide characters could have halves selected #2283

Merged
merged 1 commit into from Jul 3, 2019

Conversation

lramos15
Copy link
Contributor

@lramos15 lramos15 commented Jul 3, 2019

Fixes #1732. The logic to prevent clicking the scrollbar causing a selection was capturing and returning before I could select a double width character. The logic for selecting double width characters already existed, but was never hit. This PR changes the scroll bar selection logic so that the double width character logic can be fired.

@Tyriar Tyriar added this to the 4.0.0 milestone Jul 3, 2019
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.

👍

@Tyriar Tyriar merged commit c55e938 into xtermjs:master Jul 3, 2019
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.

Selection can start in the middle of a double-width character
2 participants