aboutsummaryrefslogtreecommitdiff
path: root/st.c.rej
diff options
context:
space:
mode:
Diffstat (limited to 'st.c.rej')
-rw-r--r--st.c.rej14
1 files changed, 8 insertions, 6 deletions
diff --git a/st.c.rej b/st.c.rej
index d83f051..0418a44 100644
--- a/st.c.rej
+++ b/st.c.rej
@@ -1,12 +1,14 @@
--- st.c
+++ st.c
-@@ -2670,7 +2670,8 @@ draw(void)
+@@ -2668,8 +2738,9 @@ draw(void)
+ cx--;
+
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);
+- xdrawcursor(cx, term.c.y, term.line[term.c.y][cx],
+- term.ocx, term.ocy, term.line[term.ocy][term.ocx]);
++ 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 = cx;
term.ocy = term.c.y;
xfinishdraw();