aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/st.c b/st.c
index 3c158c0..4c8d67f 100644
--- a/st.c
+++ b/st.c
@@ -952,6 +952,7 @@ treset(void) {
952 term.tabs[i] = 1; 952 term.tabs[i] = 1;
953 term.top = 0, term.bot = term.row - 1; 953 term.top = 0, term.bot = term.row - 1;
954 term.mode = MODE_WRAP; 954 term.mode = MODE_WRAP;
955 xclear(0, 0, xw.w, xw.h);
955 tclearregion(0, 0, term.col-1, term.row-1); 956 tclearregion(0, 0, term.col-1, term.row-1);
956} 957}
957 958
@@ -2433,9 +2434,9 @@ main(int argc, char *argv[]) {
2433 2434
2434 run: 2435 run:
2435 setlocale(LC_CTYPE, ""); 2436 setlocale(LC_CTYPE, "");
2437 xinit();
2436 tnew(80, 24); 2438 tnew(80, 24);
2437 ttynew(); 2439 ttynew();
2438 xinit();
2439 selinit(); 2440 selinit();
2440 run(); 2441 run();
2441 return 0; 2442 return 0;