commit 6ac8c8aa50d521f82d491ab54eb972660fdf3207
Author: Hiltjo Posthuma <[email protected]>
AuthorDate: Sat Mar 17 13:48:29 2018 +0100
Commit: Hiltjo Posthuma <[email protected]>
CommitDate: Sat Mar 17 13:48:29 2018 +0100
selextend: clarify: !sel.mode == SEL_IDLE
diff --git a/st.c b/st.c
index 581647b..46c954b 100644
--- a/st.c
+++ b/st.c
@@ -461,7 +461,7 @@ selextend(int col, int row, int type, int done)
{
int oldey, oldex, oldsby, oldsey, oldtype;
- if (!sel.mode)
+ if (sel.mode == SEL_IDLE)
return;
if (done && sel.mode == SEL_EMPTY) {
selclear();