summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>1999-09-29 21:01:01 +0000
committeraaron <aaron@openbsd.org>1999-09-29 21:01:01 +0000
commite213bb7af245d0eeccb8d4badadf258c2bc48fd5 (patch)
treeee22cb832c3e660e1610678e230b20c6de88b278
parentAdd LIBSSL and LIBCRYPTO definitions (diff)
downloadwireguard-openbsd-e213bb7af245d0eeccb8d4badadf258c2bc48fd5.tar.xz
wireguard-openbsd-e213bb7af245d0eeccb8d4badadf258c2bc48fd5.zip
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);
}