mirror of
https://github.com/tildeclub/ex-vi.git
synced 2026-06-22 11:49:25 +00:00
* The -w option now also sets the scroll size for the 'z' command.
This commit is contained in:
7
ex_tty.c
7
ex_tty.c
@@ -73,7 +73,7 @@
|
||||
|
||||
#ifndef lint
|
||||
#ifdef DOSCCS
|
||||
static char sccsid[] = "@(#)ex_tty.c 1.27 (gritter) 12/1/04";
|
||||
static char sccsid[] = "@(#)ex_tty.c 1.28 (gritter) 2/17/05";
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -310,7 +310,10 @@ setsize(void)
|
||||
if (TCOLUMNS <= 4)
|
||||
TCOLUMNS = 1000;
|
||||
options[WINDOW].ovalue = options[WINDOW].odefault = l - 1;
|
||||
if (defwind) options[WINDOW].ovalue = defwind;
|
||||
if (defwind) {
|
||||
options[WINDOW].ovalue = defwind;
|
||||
l = defwind + 1;
|
||||
}
|
||||
options[SCROLL].ovalue = options[SCROLL].odefault = HC ? 11 : ((l-1) / 2);
|
||||
if (i <= 0)
|
||||
TLINES = 2;
|
||||
|
||||
Reference in New Issue
Block a user