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