mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-21 23:05:59 +01:00
selextend: clarify: !sel.mode == SEL_IDLE
This commit is contained in:
parent
5345db3c9b
commit
6ac8c8aa50
1 changed files with 1 additions and 1 deletions
2
st.c
2
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();
|
||||
|
|
Loading…
Reference in a new issue