mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-25 14:05:41 -05:00
6428ce28b4
Support for strikethrough has been added by inserting and removing a `STRIKE_THROUGH` flag on the cell. Now all strikethrough and underline drawing is also done through the rectangle renderer. So no glyphs are used to render underlines and strikethrough. The position is taken from the font metrics and should be accurate for linux, however is not yet tested on macos. It works by checking the underline state for each cell and then drawing from the start until the last position whenever an underline ended. This adds a few checks even if no underline is rendered but I was not able to measure any significant performance impact. Fixes jwilm/alacritty#806. Fixes jwilm/alacritty#31. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |