summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorIskustvo <iskustvo@yahoo.com>2023-01-07 01:23:37 +0100
committerMarcelo Lira <setanta@gmail.com>2025-03-02 04:20:26 -0300
commit6fc6b4a47ab27f191acda7572b3f9082dbbe4b6c (patch)
treeb43074c5bfe018f93bf86be9b25138a12f18de97 /st.c
parentf9cdb0e485c0b8229c50e4d88338f613834dc734 (diff)
add glyph wide support patch
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 03b9bc8..663b20d 100644
--- a/st.c
+++ b/st.c
@@ -2666,7 +2666,8 @@ draw(void)
drawregion(0, 0, term.col, term.row);
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();