OSDN Git Service

don't attempt to export $COLUMNS
authorscribu <mail@scribu.net>
Sat, 11 May 2013 21:01:10 +0000 (00:01 +0300)
committerscribu <mail@scribu.net>
Sun, 19 May 2013 23:28:43 +0000 (02:28 +0300)
commitc74fa93214b28b3d5577219ca84630737c4cf716
treedfe8073ef87186cb28701a8b8f26396f3fd0593f
parentfb5652302086e1199de614083c8b2bd1c8554920
don't attempt to export $COLUMNS

First of all, it's not used by wp-cli (php-cli-tools calls tput
directly).

Second of all, $COLUMNS is a shell variable, so it wouldn't be available via
PHP's getenv() normally. In other words, calling tput directly is the
correct solution.
bin/wp