From 30faefe674c5048b7ffd31c98b1a2193c43c9fe2 Mon Sep 17 00:00:00 2001 From: Federico Igne Date: Sat, 23 May 2020 12:01:50 +0100 Subject: 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. --- st.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'st.c') diff --git a/st.c b/st.c index 1a3f49c..4a6c2c9 100644 --- a/st.c +++ b/st.c @@ -2665,7 +2665,8 @@ draw(void) drawregion(0, 0, term.col, term.row); if (term.scr == 0) xdrawcursor(cx, term.c.y, term.line[term.c.y][cx], - term.ocx, term.ocy, term.line[term.ocy][term.ocx]); + term.ocx, term.ocy, term.line[term.ocy][term.ocx], + term.line[term.ocy], term.col); term.ocx = cx, term.ocy = term.c.y; xfinishdraw(); xximspot(term.ocx, term.ocy); -- cgit v1.2.3