selection: fix view to match actual selection on first cell
Avi Halachmi (:avih) avihpit@yahoo.com
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
st.c
→
st.c
@@ -458,7 +458,7 @@ sel.oe.y = row;
selnormalize(); sel.type = type; - if (oldey != sel.oe.y || oldex != sel.oe.x || oldtype != sel.type) + if (oldey != sel.oe.y || oldex != sel.oe.x || oldtype != sel.type || sel.mode == SEL_EMPTY) tsetdirt(MIN(sel.nb.y, oldsby), MAX(sel.ne.y, oldsey)); sel.mode = done ? SEL_IDLE : SEL_READY;