X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;ds=sidebyside;f=st.c;h=4e208d4c09590f81ecc76004d78b266507e522b7;hb=42505c5215c84db192287337922581ba43dec89d;hp=655d5a330555608bbdff962e12d506e944d1fd94;hpb=462a966ee2c0f49f432bedaf8e6ebdff995262a9;p=st.git diff --git a/st.c b/st.c index 655d5a3..4e208d4 100644 --- a/st.c +++ b/st.c @@ -2059,7 +2059,7 @@ xdrawcursor(void) { } else xclear(oldx, oldy, oldx, oldy); - xcopy(oldx, oldy, 1, 1); + xcopy(); /* draw the new one */ if(!(term.c.state & CURSOR_HIDE)) { @@ -2074,7 +2074,7 @@ xdrawcursor(void) { oldx = term.c.x, oldy = term.c.y; } - xcopy(term.c.x, term.c.y, 1, 1); + xcopy(); } void