From 597785bbc6fc9252b815a280e03f70ee107068ae Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Thu, 20 Jan 2022 23:11:39 +0100 Subject: boxdraw patch --- st.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'st.c') diff --git a/st.c b/st.c index 72f6577..c829d1b 100644 --- a/st.c +++ b/st.c @@ -1277,6 +1277,9 @@ tsetchar(Rune u, const 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