tselextend: clarify: !sel.mode == SEL_IDLE - st - [fork] customized build of st, the simple terminal
HTML git clone git://src.adamsgaard.dk/st
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 6ac8c8aa50d521f82d491ab54eb972660fdf3207
DIR parent 5345db3c9be1a22ca19202035b881b951c2f0f9e
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 17 Mar 2018 13:48:29 +0100
selextend: clarify: !sel.mode == SEL_IDLE
Diffstat:
M st.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/st.c b/st.c
t@@ -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();