Fix scrolling up bug.
This commit is contained in:
parent
afe7d1f949
commit
ccda858776
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ while(true) {
|
|||
$table->injectData($data);
|
||||
$table->display();
|
||||
sleep(1);
|
||||
for($i = 0; $i <= $rowsCount; $i++){
|
||||
for($i = 0; $i < $rowsCount; $i++){
|
||||
echo "\033[2K";
|
||||
echo "\033[1A";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue