summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorrafa_99 <rafa99@protonmail.com>2019-11-24 10:38:21 +0000
committerrafa_99 <rafa99@protonmail.com>2019-11-24 10:38:21 +0000
commit22c7003c9a3eb47f9223daa8d957a1f7c0d3f7f5 (patch)
tree774ec68c3035283c752c38f4e3698d84996a73ea /st.c
parent2b8333f553c14c15398e810353e192eb05938580 (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 ede7ae6..4258c0f 100644
--- a/st.c
+++ b/st.c
@@ -1212,6 +1212,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