aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 46c954b..2612c95 100644
--- a/st.c
+++ b/st.c
@@ -446,6 +446,7 @@ selstart(int col, int row, int snap)
446 selclear(); 446 selclear();
447 sel.mode = SEL_EMPTY; 447 sel.mode = SEL_EMPTY;
448 sel.type = SEL_REGULAR; 448 sel.type = SEL_REGULAR;
449 sel.alt = IS_SET(MODE_ALTSCREEN);
449 sel.snap = snap; 450 sel.snap = snap;
450 sel.oe.x = sel.ob.x = col; 451 sel.oe.x = sel.ob.x = col;
451 sel.oe.y = sel.ob.y = row; 452 sel.oe.y = sel.ob.y = row;
@@ -474,7 +475,6 @@ selextend(int col, int row, int type, int done)
474 oldsey = sel.ne.y; 475 oldsey = sel.ne.y;
475 oldtype = sel.type; 476 oldtype = sel.type;
476 477
477 sel.alt = IS_SET(MODE_ALTSCREEN);
478 sel.oe.x = col; 478 sel.oe.x = col;
479 sel.oe.y = row; 479 sel.oe.y = row;
480 selnormalize(); 480 selnormalize();