From 59eed7c68a87f17e3bd0e60739dd75972cae9de0 Mon Sep 17 00:00:00 2001 From: tsxv478 Date: Sun, 17 Jul 2022 04:29:05 +0300 Subject: boxdraw patch --- st.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'st.c') diff --git a/st.c b/st.c index 4e6d805..f0d5f8a 100644 --- a/st.c +++ b/st.c @@ -1446,6 +1446,9 @@ tsetchar(Rune u, const Glyph *attr, int x, int y) term.line[y][x] = *attr; term.line[y][x].u = u; term.line[y][x].mode |= ATTR_SET; + + if (isboxdraw(u)) + term.line[y][x].mode |= ATTR_BOXDRAW; } void -- cgit v1.2.3