diff options
author | Luke Smith <luke@lukesmith.xyz> | 2020-05-05 13:55:37 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2020-05-05 13:55:37 -0400 |
commit | b35e4f57273f56c53dbc4d77d7b5992c47255662 (patch) | |
tree | fa6845acd8e28b3abe16f49c857136df2af34ab0 /st.c | |
parent | b43e574fa6e7e99cc620603cd0b7a36e1d7376b1 (diff) |
boxdraw added
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |