hoaproject / Console

The Hoa\Console library.
https://hoa-project.net/
366 stars 32 forks source link

Setting the cursor position doesn't change anything #89

Open EmmanuelCervettiIESSUD opened 5 years ago

EmmanuelCervettiIESSUD commented 5 years ago

Hi. My os is Lubuntu.

Setting the cursor position doesn't change anything, echo is still printed, in a continuous stream where anything printed is printed following each other.

Hoa\Console\Cursor::moveTo(0, 0);
echo "hi" ;
Hoa\Console\Cursor::moveTo(10,10);
echo "ho" ;
Hoa\Console\Cursor::moveTo(20, 20);
echo "hu" ;

will echo : hihohu

I would be happy to help debugging.