commit a28f3e0d39a6c7f94ad8ae387b871d333aa2611b
parent 7976e611e359ce65a3619daf2596cfa326283b90
Author: Bakkeby <bakkeby@gmail.com>
Date: Mon, 11 Mar 2024 22:49:20 +0100
Adding back lines that were removed by mistake, fixes mouse double click to select
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/st.c b/st.c
@@ -454,6 +454,10 @@ selstart(int col, int row, int snap)
sel.oe.x = sel.ob.x = col;
sel.oe.y = sel.ob.y = row;
selnormalize();
+
+ if (sel.snap != 0)
+ sel.mode = SEL_READY;
+ tsetdirt(sel.nb.y, sel.ne.y);
}
void