Introduction
Introduction Statistics Contact Development Disclaimer Help
tset sel.alt in selstart instead of selextend - st - [fork] customized build of…
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit 74cff67bd7746c2636ea7bc78a0b8af2f8c44838
parent 6f0f2b7ec3713351de274707672fbadb6cc727a2
Author: Daniel Tameling <[email protected]>
Date: Wed, 28 Mar 2018 21:27:58 +0200
set sel.alt in selstart instead of selextend
Diffstat:
M st.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/st.c b/st.c
t@@ -446,6 +446,7 @@ selstart(int col, int row, int snap)
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;
t@@ -474,7 +475,6 @@ selextend(int col, int row, int type, int done)
oldsey = sel.ne.y;
oldtype = sel.type;
- sel.alt = IS_SET(MODE_ALTSCREEN);
sel.oe.x = col;
sel.oe.y = row;
selnormalize();
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.