summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2021-02-17 05:25:53 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2021-02-17 05:25:53 -0500
commitaada3e26cd4d7980a2d301651ba4a49368bddbde (patch)
tree19a315d533d66361f634f8b4346dba412e1f7d07 /st.c
parentc0bd976881f7d77e052e8b6c92bb80f3c376e825 (diff)
boxdraw everything exept brailleHEADmaster
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 21c6739..4b07837 100644
--- a/st.c
+++ b/st.c
@@ -1292,6 +1292,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