X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=st.c;h=581647bfdc2b89cead551589e70e4abfe22bffa5;hb=7648697f711d5ae336af142e9cd464d943341b24;hp=f46aab61c0329a11c652bbb574f9a71525dfc994;hpb=e0215d53770a9b6bc6e5d7b9a603ecd34dbd7100;p=st.git diff --git a/st.c b/st.c index f46aab6..581647b 100644 --- a/st.c +++ b/st.c @@ -3,24 +3,18 @@ #include #include #include -#include #include #include #include #include #include #include -#include #include #include -#include -#include #include #include #include -#include #include -#include #include #include "st.h" @@ -746,7 +740,6 @@ sigchld(int a) exit(0); } - void stty(char **args) { @@ -768,7 +761,7 @@ stty(char **args) } *q = '\0'; if (system(cmd) != 0) - perror("Couldn't call stty"); + perror("Couldn't call stty"); } int @@ -1700,7 +1693,6 @@ csihandle(void) tputtab(csiescseq.arg[0]); break; case 'J': /* ED -- Clear screen */ - selclear(); switch (csiescseq.arg[0]) { case 0: /* below */ tclearregion(term.c.x, term.c.y, term.col-1, term.c.y);