aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorShivesh Mandalia <mail@shivesh.org>2021-09-22 20:30:34 +0100
committerShivesh Mandalia <mail@shivesh.org>2021-09-22 20:30:34 +0100
commit3964320a731def870e1c28bc8bae05310decc949 (patch)
treefdd660d368bafa25e6084453866e3032b90da78d /st.c
parent2467e2824fb6a2bc2bf76883f8a2c7561d7af4a4 (diff)
downloadst-3964320a731def870e1c28bc8bae05310decc949.tar.gz
st-3964320a731def870e1c28bc8bae05310decc949.zip
Proper drawing of ligatures
- Patch st-ligatures-scrollback-0.8.4 <https://st.suckless.org/patches/ligatures/>
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 74d4391..15f8f96 100644
--- a/st.c
+++ b/st.c
@@ -2668,7 +2668,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();