From 81df9b428bd0330af98db9c69ffe69b0441e00fd Mon Sep 17 00:00:00 2001 From: Federico Igne Date: Sat, 23 May 2020 11:29:02 +0100 Subject: Apply BoxDraw patch Homepage link: https://st.suckless.org/patches/boxdraw/ Patch link: https://st.suckless.org/patches/boxdraw/st-boxdraw_v2-0.8.3.diff Additional info: patch applied manually. --- st.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'st.c') diff --git a/st.c b/st.c index 83681c1..1a3f49c 100644 --- a/st.c +++ b/st.c @@ -1285,6 +1285,9 @@ tsetchar(Rune u, Glyph *attr, int x, int y) term.dirty[y] = 1; term.line[y][x] = *attr; term.line[y][x].u = u; + + if (isboxdraw(u)) + term.line[y][x].mode |= ATTR_BOXDRAW; } void -- cgit v1.2.3