summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authortsxv478 <vt0451@yandex.ru>2022-07-17 04:29:05 +0300
committertsxv478 <vt0451@yandex.ru>2022-07-17 04:29:05 +0300
commit59eed7c68a87f17e3bd0e60739dd75972cae9de0 (patch)
treecd8f478e9c74c9a367b2295ad801852ca57c45d6 /st.c
parent02760c4ad088e94d69976b5d5367b918fccd69bf (diff)
boxdraw patch
Diffstat (limited to 'st.c')
-rw-r--r--st.c3
1 files changed, 3 insertions, 0 deletions
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