* The screen buffers for visual mode are now dynamically allocated, so

vi usually does not return to ex mode with "screen too large" when the
  terminal is resized on a large monitor anymore.
This commit is contained in:
Gunnar Ritter
2005-08-04 12:09:59 +00:00
parent c69b1ee369
commit 2b70d8e5eb
15 changed files with 72 additions and 57 deletions

View File

@@ -73,7 +73,7 @@
#ifndef lint
#ifdef DOSCCS
static char sccsid[] = "@(#)ex_tty.c 1.29 (gritter) 2/17/05";
static char sccsid[] = "@(#)ex_tty.c 1.30 (gritter) 8/4/05";
#endif
#endif
@@ -300,8 +300,6 @@ setsize(void)
i = TLINES;
if (TLINES <= 5)
TLINES = 24;
if (TLINES > TUBELINES)
TLINES = TUBELINES;
l = TLINES;
if (ospeed < B1200)
l = 9; /* including the message line at the bottom */