-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
text style: underline #79
Comments
I like more Alacritty implementation (character underline and cursor underline is same), feels a bit off cursor style that specify underline do a different rendering that a normal text underline. What you think? |
I have never used underline cursor, so I wanted to hear from anyone with an opinion. |
yup, we can start with alacritty's way and later revisit as well. Although might bump into this same type of problems alacritty/alacritty#3471 (if the cursor doesn't differentiate at least bit) |
Thinking about it, I don't believe we are able to do the second approach until rewrite the font loader. For now implemented Strikethrough and Underline using the sugardecoration but I think we can revisit it later once we have the font loader more stable (need to rewrite it due to #80 and WASM support). Below some screenshots with underline and strikethrough using same approach as alacritty. |
Implement underline feature in the sugarloaf. Rio and Crosswords already provide an information if the square/cell is underlined, would be similar to the way flag is working for bold, italic and bold_italic https://github.com/raphamorim/rio/blob/main/rio/src/screen/state.rs#L193-L203
The text was updated successfully, but these errors were encountered: