summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-08-18 22:45:33 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-08-18 22:45:33 +0200
commit31dde49c7b51bc8a9de8db08edb4008f026db35b (patch)
tree4cf5c3d5e5deb24f3bd27ed0293d9de29596cb87 /st.c
parent1a56c3c9d23eae2e83040d849a1980c04e12f0a3 (diff)
Fix so that the boxdraw patch is applied correctly(?), still issue with bottom graph display
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 ebdf360..5990f9d 100644
--- a/st.c
+++ b/st.c
@@ -1221,6 +1221,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