summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-05-05 13:55:37 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-05-05 13:55:37 -0400
commitb35e4f57273f56c53dbc4d77d7b5992c47255662 (patch)
treefa6845acd8e28b3abe16f49c857136df2af34ab0 /st.c
parentb43e574fa6e7e99cc620603cd0b7a36e1d7376b1 (diff)
boxdraw added
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 e4df60c..192360b 100644
--- a/st.c
+++ b/st.c
@@ -1295,6 +1295,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