boxdraw added

This commit is contained in:
Luke Smith
2020-05-05 13:55:37 -04:00
parent b43e574fa6
commit b35e4f5727
7 changed files with 451 additions and 6 deletions

3
st.c
View File

@@ -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