diff options
author | Federico Igne <git@federicoigne.com> | 2020-05-23 11:29:02 +0100 |
---|---|---|
committer | Federico Igne <git@federicoigne.com> | 2020-05-23 11:29:02 +0100 |
commit | 81df9b428bd0330af98db9c69ffe69b0441e00fd (patch) | |
tree | 58773d60020d006a841f18b80578d9e763e839e9 /st.c | |
parent | dd31d0207ba2acebfb65400e916a624a57c638a4 (diff) | |
download | st-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 | ||
1290 | void | 1293 | void |