Fix $LINES = $COLUMNS bug

Fixes #745
This commit is contained in:
Dag Odenhall 2013-05-20 19:59:33 +02:00 committed by ridiculousfish
parent 9169a673d5
commit 9f0775c873

View file

@ -1076,7 +1076,7 @@ env_var_t env_get_string(const wcstring &key)
} }
else if (key == L"LINES") else if (key == L"LINES")
{ {
return to_string(common_get_width()); return to_string(common_get_height());
} }
else if (key == L"status") else if (key == L"status")
{ {