summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-09-29 21:01:02 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-09-29 21:01:02 +0000
commit3a463f8415ec56ee971fc5118becee2d84a1b915 (patch)
treeea37515ce03167fa32f1cffd30eaaa277a1249c4
parentb8362bc6c0a526d201215bdb9f9124f2b2ee388d (diff)
Reallocate our scrollback buffer when switching 132/80 column modes, too.
-rw-r--r--sys/arch/i386/isa/pcvt/pcvt_out.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_out.c b/sys/arch/i386/isa/pcvt/pcvt_out.c
index 38df337389b..b9cd2ce3d0b 100644
--- a/sys/arch/i386/isa/pcvt/pcvt_out.c
+++ b/sys/arch/i386/isa/pcvt/pcvt_out.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcvt_out.c,v 1.10 1999/09/28 20:36:05 aaron Exp $ */
+/* $OpenBSD: pcvt_out.c,v 1.11 1999/09/29 21:01:01 aaron Exp $ */
/*
* Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch.
@@ -1966,6 +1966,7 @@ vt_col(struct video_state *svsp, int cols)
#endif /* PCVT_SIGWINCH */
}
+ reallocate_scrollbuffer(svsp, SCROLLBACK_PAGES);
return(1);
}