summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-09-04 20:18:30 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-09-04 20:18:30 +0530
commit54c46dc5bab7f924e3bbd203a6d04807c97fd720 (patch)
tree3f09f56e47122d73d290f0cccc9ab0fc1fc2e39c /st.c
parent9e87513f847505cd22188018f12293f3c51c6098 (diff)
applying boxdraw patch and adding vertcenter 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 b887ed5..4f015ed 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