[compat] Allow overriding by only COLUMNS or LINES in compat_get_terminal_size
authorYen Chi Hsuan <yan12125@gmail.com>
Sun, 13 Sep 2015 12:04:27 +0000 (20:04 +0800)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 2 Oct 2015 22:00:33 +0000 (00:00 +0200)
Now the semantic of this function is identical to
shutil.get_terminal_size() in Python 3.3+. The new behavior also
corresponds to the old get_term_width(), which is removed in
003c69a84b68cadb46aeb8e03115848a722fd675


No differences found