st

Suckless' st with my personal patches
git clone https://git.instinctive.eu/st.git
Log | Files | Refs | README | LICENSE

commit 24bd47cfed1a397fd9ce29a6d7b8432660011978
parent 0f5317da84e4b76bac37baad53b9965f58746722
Author: Natasha Kerensikova <natacha@instinctive.eu>
Date:   Fri, 19 May 2023 09:25:50 +0200

[nat] round underline down

Diffstat:
Mx.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x.c b/x.c @@ -1626,7 +1626,7 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i /* Render underline and strikethrough. */ if (base.mode & ATTR_UNDERLINE) { - XftDrawRect(xw.draw, fg, winx, winy + dc.font.ascent * chscale + 1, + XftDrawRect(xw.draw, fg, winx, winy + ceilf(dc.font.ascent * chscale) + 1, width, 1); }