all repos — st @ 6ac8c8aa50d521f82d491ab54eb972660fdf3207

st (suckless terminal) config

selextend: clarify: !sel.mode == SEL_IDLE
Hiltjo Posthuma hiltjo@codemadness.org
commit

6ac8c8aa50d521f82d491ab54eb972660fdf3207

parent

5345db3c9be1a22ca19202035b881b951c2f0f9e

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M st.cst.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();