console : if there were multiple suggestions, rewrite the line

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5573 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2019-10-03 19:13:22 +00:00
parent 244c45e2a7
commit 3b5b0bf894

View File

@@ -390,13 +390,13 @@ class console
$this->debug ("Autocompletion : Zero entry : do not change");
$string = $start.$end;
}
/*
if (is_array ($completeArr) && count ($completeArr))
{
// If there were multiple suggestions displayed, rewrite the line
$cursorPos = mb_strlen ($prompt.$string) + 1;
$this->rewriteLine ($prompt.$string);
$this->moveCursor ($cursorPos);
}*/
}
$this->debug ("Autocompletion : end '$prompt.$string'");
}
// }}}