-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add support for block and underline style cursor in DOM rendering mode #1661
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for you PR! I've tried it out but can only see the cursor styles being applied while the terminal is unfocused. Once it gets focused the block cursor comes back. Check out my comments to see why. In general it would be good if we could use the same cursor behaviour as with the canvas renderer, which is: If the terminal is unfocused, we will always show the outline of the block cursor. If the terminal is focused, we will show whatever cursor style is set.
@mofux Thanks for the suggestions. Fixed! |
Thanks for addressing the remaining issues and helping out closing the related issue. This works fine for me now! @Tyriar Please merge if you're okay with the changes (and want to have it in the upcoming 3.7.0 release). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just 2 comments to speed things up a little 😃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Just one more minor change and then this is good to go.
Getting rid of the ICursorOptions interface to improve performance
Thanks @hindol! Merging 😃 |
First PR, so suggestions welcome. Fixes #1640.