Closed Hywan closed 10 years ago
/ping @Nasga I can't test on every platform. I would like all the @hoaproject/hoackers to test this patch and observe any warnings please :-)
I don't remember where, but I've seen several platforms where echo -e is not well supported
For my test under Linux I use Wheezy 3.2.0 / Debian 7.5 + PHP 5.4.4
through VirtualBox.
The output is correct without this commit for me;)
But I've got tput: unknown terminfo capability '-e'
before the result with PuTTY (returned by line 206).
And with the VirtualBox console I have this: (returned by line 201).
tput: unknown terminfo capability '-e'
array(2) {
["x"]=>
int(0)
["y"]=>
int(0)
}
Edit: From CLI, I must type $ echo -e "cols\nlines" | tput -S
.
What about now?
It's ok for me on bash/zsh
Good for me.
Thanks everyone. No more echo
now. Will work everywhere since tput
is standard.
Should #21.