set sel.alt in selstart instead of selextend
Daniel Tameling tamelingdaniel@gmail.com
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
st.c
→
st.c
@@ -446,6 +446,7 @@ {
selclear(); sel.mode = SEL_EMPTY; sel.type = SEL_REGULAR; + sel.alt = IS_SET(MODE_ALTSCREEN); sel.snap = snap; sel.oe.x = sel.ob.x = col; sel.oe.y = sel.ob.y = row;@@ -474,7 +475,6 @@ oldsby = sel.nb.y;
oldsey = sel.ne.y; oldtype = sel.type; - sel.alt = IS_SET(MODE_ALTSCREEN); sel.oe.x = col; sel.oe.y = row; selnormalize();