![]() Thanks, it's useful advice, I'll consider the feasibility of this in my setup, not sure whether it's possible. Where I'd recommend going for dashed/dotted instead. It's for all this that I consider what xfce4-terminal has reached for this situation as less worse. No informed decision has been taken for it to look like it does now, which actually resembles a graphical defect. I think, if it's to have/support undercurls in this situation at all, then it needs to at least look like one? Maybe by having some kind of squeezing limit for them.Īlacritty at the moment doesn't take any of this reasoning into question, its look in this case is purely an unexpected graphical artifact of the current implementation while hitting an edge situation it wasn't prepared for. The newly implemented undercurl doesnt look like undercurl at all on my setup. Renamed io. to .xml Renamed io.alacritty to org.alacritty for Alacritty.app Added. We are the ones being creative by looking how to still have undercurls despite that. This line of reasoning is not sensible, these kinds of fonts won't cease to exist, and it's not them to blame for not holding undercurls in an ideal form, they're actually fine as is because they were never designed with that in mind in the first place (many bitmap fonts aren't). curl -s > 24-bit-color.sh bash 24-bit-color.sh Configuration files Alacritty In /.config/alacritty/alacritty. Seems like it's just a crappy font without any descent space Alacritty has no undercurl support, even though tmux has Testing colors Running this script should look the same in tmux as without. Undercurls is a decoration, it comes after the font per se, it's not a builtin aspect of it, so, I see as normal that many fonts aren't prepared for the myriad kinds of decorations that are possible in text authoring. This realization is what removed the initial qualms I had with the look I was getting with xfce4-terminal. ![]() Let me expand on this a little further as I didn't got no qualms about it out of an afterthought, I had actually reached some conclusion, which changed my mind to accept it: when people go about marking their own handwritten text, physical books, and even manuals printed with bitmap fonts, they, more often than not, handwrite undercurls that almost stick to the text. The appearance in xfce4-terminal is much less worse Note, the Terminus font I use has a personal fontconfig configuration. "/home/francisco/.config/alacritty/alacritty.yml" We were also considering this in the VTE bug.Welcome to Alacritty In case you're short of bits, I believe it's okay to drop some precision, e.g. I searched the issues and found out Alacritty has just added support for undercurls a few months ago, so I changed to dev version (from AUR). There's no shortcut notation for the first 16 entries (corresponding to SGR 30-37 and 90-97), use the 256-color mode with indices of 0-15 instead.ĥ9 reverts to the default, that is, the underline's color auto-following the text color. When trying to highlight something like this: highlight xxxxx guiundercurl, Alacrittty displays underlines instead of undercurls while Kitty does this correctly. (wait, see #6377 (closed)) for direct RGB. ![]() That is, 58 5 idx or 58:5:idx for an entry of the 256-color palette, or 58 2 r g b or 58:2. The new SGR 58 and 59 sequences specify the color of the underline, following the pattern of 38 and 39. Example: Apologies if this is already working somehow but I've followed a few guides and haven't had any luck on Windows 10 with WSL2 using Windows Terminal along with WezTerm but as soon as I used the same dotfiles within a VirtualBox for Garuda OS it worked for undercurls. In the mean time, 4:0, 4:1 and 4:2 were also added as aliases for the standard 24 (turn off all kinds of underlining), 4 (single underline) and 21 (double underline), respectively.Īt some point in the future, probably 4:4 and 4:5 could also stand for dotted and dashed underlines in some order (these are the five types of underlining supported by HTML/CSS). Description of the new feature/enhancement. The new SGR 4:3 ( \e[4:3m) attribute, strictly with a colon as separator, was introduced to start a curly underline. for spell checking.Īpparently vim and neovim have already / are about to support these, see e.g. Technically two separate features, but they mostly make sense together, e.g. ![]() This is originally a feature of Kitty, now also adopted by VTE (GNOME Terminal and friends). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |