1
0
forked from aniani/vim

updated for version 7.0049

This commit is contained in:
Bram Moolenaar
2005-02-07 22:01:03 +00:00
parent f97ca8f066
commit 7c62692d43
28 changed files with 796 additions and 190 deletions

View File

@@ -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);