aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorFederico Igne <git@federicoigne.com>2020-05-23 11:29:02 +0100
committerFederico Igne <git@federicoigne.com>2020-05-23 11:29:02 +0100
commit81df9b428bd0330af98db9c69ffe69b0441e00fd (patch)
tree58773d60020d006a841f18b80578d9e763e839e9 /st.c
parentdd31d0207ba2acebfb65400e916a624a57c638a4 (diff)
downloadst-81df9b428bd0330af98db9c69ffe69b0441e00fd.tar.gz
st-81df9b428bd0330af98db9c69ffe69b0441e00fd.zip
Apply BoxDraw patch
Homepage link: https://st.suckless.org/patches/boxdraw/ Patch link: https://st.suckless.org/patches/boxdraw/st-boxdraw_v2-0.8.3.diff Additional info: patch applied manually.
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 83681c1..1a3f49c 100644
--- a/st.c
+++ b/st.c
@@ -1285,6 +1285,9 @@ tsetchar(Rune u, Glyph *attr, int x, int y)
1285 term.dirty[y] = 1; 1285 term.dirty[y] = 1;
1286 term.line[y][x] = *attr; 1286 term.line[y][x] = *attr;
1287 term.line[y][x].u = u; 1287 term.line[y][x].u = u;
1288
1289 if (isboxdraw(u))
1290 term.line[y][x].mode |= ATTR_BOXDRAW;
1288} 1291}
1289 1292
1290void 1293void