Mercurial > vim
diff src/os_unix.c @ 161:6df0106fc595
updated for version 7.0049
author | vimboss |
---|---|
date | Mon, 07 Feb 2005 22:01:03 +0000 |
parents | 78423945b251 |
children | 8b0ee9d57d7f |
line wrap: on
line diff
--- a/src/os_unix.c +++ b/src/os_unix.c @@ -3222,8 +3222,9 @@ mch_get_shellsize() /* * 2. get size from environment + * When being POSIX compliant this overrules the ioctl() values! */ - if (columns == 0 || rows == 0) + if (columns == 0 || rows == 0 || getenv("VIM_POSIX") != NULL) { if ((p = (char_u *)getenv("LINES"))) rows = atoi((char *)p);