Skip to content

Conversation

@whydoubt
Copy link
Contributor

@whydoubt whydoubt commented Nov 8, 2018

Fixes #1751

@jerch
Copy link
Member

jerch commented Nov 8, 2018

@whydoubt Under Chrome it seems the terminal lines are to short and the last char gets wrongly wrapped by the browser:
image

@whydoubt
Copy link
Contributor Author

When the row is sized for 9px-wide characters, Chrome has a charMeasure width of 9.015625px (9 + 1/64), leading to the wrapped overflow. I think actualCharWidth is more appropriate in this case anyway.

Copy link
Member

@jerch jerch left a comment

Choose a reason for hiding this comment

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

👍 Thx alot, works.

@jerch jerch added this to the 3.9.0 milestone Nov 14, 2018
@jerch jerch closed this Nov 14, 2018
@jerch jerch reopened this Nov 14, 2018
@jerch jerch merged commit e4e5b96 into xtermjs:master Nov 14, 2018
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