summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorAiden Gall <aiden@aidengall.xyz>2023-11-16 15:28:59 +0000
committerAiden Gall <aiden@aidengall.xyz>2023-11-16 15:32:18 +0000
commit7786188a45318f1bcac232d1615ffb8103c80677 (patch)
tree83c2e3cab77a49ff1d12c812139a9a08b40e3c9b /st.c
parent09d3ab2294c8113e45cf7a64902989ba45bb748a (diff)
patch boxdraw
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 4a5f88e..b7edf45 100644
--- a/st.c
+++ b/st.c
@@ -1441,6 +1441,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