aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorFederico Igne <git@federicoigne.com>2020-05-23 12:01:50 +0100
committerFederico Igne <git@federicoigne.com>2020-05-23 12:01:50 +0100
commit30faefe674c5048b7ffd31c98b1a2193c43c9fe2 (patch)
tree64aad31e5682624aef1c7538b2a9c63079fd5a3a /st.c
parent81df9b428bd0330af98db9c69ffe69b0441e00fd (diff)
downloadst-30faefe674c5048b7ffd31c98b1a2193c43c9fe2.tar.gz
st-30faefe674c5048b7ffd31c98b1a2193c43c9fe2.zip
Apply Ligatures patch
Homepage link: https://st.suckless.org/patches/ligatures/ Patch links: https://st.suckless.org/patches/ligatures/0.8.3/st-ligatures-boxdraw-20200430-0.8.3.diff https://st.suckless.org/patches/ligatures/0.8.3/st-ligatures-scrollback-20200430-0.8.3.diff Additional info: the patch was applied by mixing the two patches linked above in order to provide compatibility with both BoxDraw and Scrollback patches.
Diffstat (limited to 'st.c')
-rw-r--r--st.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/st.c b/st.c
index 1a3f49c..4a6c2c9 100644
--- a/st.c
+++ b/st.c
@@ -2665,7 +2665,8 @@ draw(void)
2665 drawregion(0, 0, term.col, term.row); 2665 drawregion(0, 0, term.col, term.row);
2666 if (term.scr == 0) 2666 if (term.scr == 0)
2667 xdrawcursor(cx, term.c.y, term.line[term.c.y][cx], 2667 xdrawcursor(cx, term.c.y, term.line[term.c.y][cx],
2668 term.ocx, term.ocy, term.line[term.ocy][term.ocx]); 2668 term.ocx, term.ocy, term.line[term.ocy][term.ocx],
2669 term.line[term.ocy], term.col);
2669 term.ocx = cx, term.ocy = term.c.y; 2670 term.ocx = cx, term.ocy = term.c.y;
2670 xfinishdraw(); 2671 xfinishdraw();
2671 xximspot(term.ocx, term.ocy); 2672 xximspot(term.ocx, term.ocy);