st
simple terminal
git clone https://9o.is/git/st.git
commit 019a749ceac45a0de7943a22e9da8046bd15977e parent e73cf8256e0969eb3fe6903a0ceccc5d44ca8391 Author: Benno Fünfstück <benno.fuenfstueck@gmail.com> Date: Tue, 26 Dec 2017 16:23:24 +0100 Fix color with FAINT attribute The alpha value needs to be initialized as well. Diffstat:
| M | x.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/x.c b/x.c @@ -1193,6 +1193,7 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i colfg.red = fg->color.red / 2; colfg.green = fg->color.green / 2; colfg.blue = fg->color.blue / 2; + colfg.alpha = fg->color.alpha; XftColorAllocValue(xw.dpy, xw.vis, xw.cmap, &colfg, &revfg); fg = &revfg; }