1
0
forked from aniani/vim

updated for version 7.0050

This commit is contained in:
Bram Moolenaar
2005-02-12 14:29:27 +00:00
parent b11bd7e43f
commit 4399ef4764
44 changed files with 556 additions and 131 deletions

View File

@@ -3222,9 +3222,10 @@ mch_get_shellsize()
/*
* 2. get size from environment
* When being POSIX compliant this overrules the ioctl() values!
* When being POSIX compliant ('|' flag in 'cpoptions') this overrules
* the ioctl() values!
*/
if (columns == 0 || rows == 0 || getenv("VIM_POSIX") != NULL)
if (columns == 0 || rows == 0 || vim_strchr(p_cpo, CPO_TSIZE) != NULL)
{
if ((p = (char_u *)getenv("LINES")))
rows = atoi((char *)p);