summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorAleksa Vučković <aleksav013@gmail.com>2022-01-20 23:11:39 +0100
committerAleksa Vuckovic <aleksa@vuckovic.cc>2023-12-06 05:03:18 +0100
commit597785bbc6fc9252b815a280e03f70ee107068ae (patch)
tree02e513ebd7ca2a771a504c4289ca9e53596d747c /st.c
parenta0e12c2e2695ea551b2d382294b937e467d25e39 (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 72f6577..c829d1b 100644
--- a/st.c
+++ b/st.c
@@ -1277,6 +1277,9 @@ tsetchar(Rune u, const 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