Open UtkarshVerma opened 2 years ago
Hmm, changing the + 1
here to + 2
gives a 1 pixel space between the text and the underline.
If I changed that to + 3
then it disappeared as the next line (my prompt) was overwriting it. Maybe + 2 is enough here.
Weirdly, that doesn't work for me. I don't see any difference. Here are the patches I'm using: https://github.com/UtkarshVerma/st-flexipatch/blob/mine/patches.h
Right, you are using the undercurl patch which has various underline variants. Not sure how exactly to adjust that.
I decided to disable undercurl patch, and got what I wanted by modifying the source. However, I feel a variable for configuring this would be better. What are your thoughts on this?
Also, I'm using +3
offset for my underline and it looks perfect.
I did a minor change in the source to set offset for the undercurl patch in https://github.com/UtkarshVerma/st-flexipatch/commit/5649ac602aac0683f30e082f89448e45826c20e2
It doesn't allow setting width of the underline though.
The underline looks a bit thicker than I prefer. Here's a comparison between Alacritty and st.
Is there a way I could make the underline thinner, and maybe position it a couple of pixels below?