summaryrefslogtreecommitdiffstats
path: root/mbbsd/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/term.c')
-rw-r--r--mbbsd/term.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/mbbsd/term.c b/mbbsd/term.c
index c1f5efd8..59f6e6b3 100644
--- a/mbbsd/term.c
+++ b/mbbsd/term.c
@@ -41,7 +41,6 @@ sig_term_resize(int sig)
void term_resize(int w, int h)
{
char changed = 0;
- screen_backup_t scr;
Signal(SIGWINCH, SIG_IGN); /* Don't bother me! */
@@ -52,9 +51,6 @@ void term_resize(int w, int h)
if (w != t_columns || h != t_lines)
{
- scr_dump(&scr);
- changed = 1;
-
// invoke terminal system resize
resizeterm(h, w);
@@ -66,12 +62,6 @@ void term_resize(int w, int h)
p_lines = t_lines - 4;
Signal(SIGWINCH, sig_term_resize);
-
- if (changed)
- {
- scr_restore(&scr);
- redrawwin();
- }
}
int