diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2018-02-24 17:09:13 -0600 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2018-02-25 21:56:26 -0600 |
commit | 20e0da7f14cc5f30863e0b8014fa223fbaff1e30 (patch) | |
tree | 565e9db20e2873c6029553bb622b0209a76fc560 /st.c | |
parent | 403c57ebb5b3745ff93e49b87e526c49dc59a5b9 (diff) | |
download | st-20e0da7f14cc5f30863e0b8014fa223fbaff1e30.tar.gz st-20e0da7f14cc5f30863e0b8014fa223fbaff1e30.zip |
General cleanup
Simplifies logic in a couple places and removes a redundant function
call.
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1693,7 +1693,6 @@ csihandle(void) | |||
1693 | tputtab(csiescseq.arg[0]); | 1693 | tputtab(csiescseq.arg[0]); |
1694 | break; | 1694 | break; |
1695 | case 'J': /* ED -- Clear screen */ | 1695 | case 'J': /* ED -- Clear screen */ |
1696 | selclear(); | ||
1697 | switch (csiescseq.arg[0]) { | 1696 | switch (csiescseq.arg[0]) { |
1698 | case 0: /* below */ | 1697 | case 0: /* below */ |
1699 | tclearregion(term.c.x, term.c.y, term.col-1, term.c.y); | 1698 | tclearregion(term.c.x, term.c.y, term.col-1, term.c.y); |