aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-04-08 15:24:18 +0200
committerMateja <mail@matejamaric.com>2021-04-08 15:40:20 +0200
commit081aa95b38c53b5a9ea47907496e0ff043fdffe3 (patch)
treec0be6daa9077c38ef68a545068b6704a4ede3fd4 /st.c
parente9bb39d56fe9982b8a1b6e3f6864a10b4a35aa51 (diff)
downloadst-081aa95b38c53b5a9ea47907496e0ff043fdffe3.tar.gz
st-081aa95b38c53b5a9ea47907496e0ff043fdffe3.zip
Switched to Fira Code font and applied `boxdraw` patch.v1.1.0
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 76b7e0d..248728f 100644
--- a/st.c
+++ b/st.c
@@ -1219,6 +1219,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