X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/8b8255ac0e188445f6904ff16272e9e93093cbde..6f0f2b7ec3713351de274707672fbadb6cc727a2:/st.c diff --git a/st.c b/st.c index 65a0cb6..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(); @@ -740,7 +740,6 @@ sigchld(int a) exit(0); } - void stty(char **args) { @@ -762,7 +761,7 @@ stty(char **args) } *q = '\0'; if (system(cmd) != 0) - perror("Couldn't call stty"); + perror("Couldn't call stty"); } int