X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=st.c;h=a2f4f46cf8efa442e20a0cf67186974083513428;hb=dd0b7a077f5184c0eac99955aeb91f3c6a0d9c11;hp=bf3993aa01a7ade722f59adbf6b85047443f5815;hpb=f471a32d29ad9e5e06cf5e5d5efc8422483f535e;p=st.git diff --git a/st.c b/st.c index bf3993a..a2f4f46 100644 --- a/st.c +++ b/st.c @@ -551,6 +551,7 @@ bpress(XEvent *e) { sel.mode = 1; sel.ex = sel.bx = X2COL(e->xbutton.x); sel.ey = sel.by = Y2ROW(e->xbutton.y); + draw(); } } @@ -619,6 +620,7 @@ void selclear(XEvent *e) { return; sel.bx = -1; tsetdirt(sel.b.y, sel.e.y); + draw(); } void