aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2020-05-13 15:47:13 -0700
committerMike Crute <mike@crute.us>2020-05-13 15:47:13 -0700
commitc414978de545c851e5e2ffcc531cd1066f70994a (patch)
tree8331efe2f1099d18418dfea7a3ec305e59201ef4 /st.c
parenteb5a16c95f804334543281a426229cc6e415139b (diff)
downloadst-patched-c414978de545c851e5e2ffcc531cd1066f70994a.tar.bz2
st-patched-c414978de545c851e5e2ffcc531cd1066f70994a.tar.xz
st-patched-c414978de545c851e5e2ffcc531cd1066f70994a.zip
apply boxdraw patch
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 0d35613..6f846a6 100644
--- a/st.c
+++ b/st.c
@@ -1221,6 +1221,9 @@ tsetchar(Rune u, Glyph *attr, int x, int y)
1221 term.dirty[y] = 1; 1221 term.dirty[y] = 1;
1222 term.line[y][x] = *attr; 1222 term.line[y][x] = *attr;
1223 term.line[y][x].u = u; 1223 term.line[y][x].u = u;
1224
1225 if (isboxdraw(u))
1226 term.line[y][x].mode |= ATTR_BOXDRAW;
1224} 1227}
1225 1228
1226void 1229void