Console : Allow to delete char with \b too (ASCII 0x08)
This commit is contained in:
@@ -473,7 +473,7 @@ class Console
|
||||
$this->moveCursor ($cursorPos);
|
||||
}
|
||||
// }}}
|
||||
elseif (ord($char) === 127)
|
||||
elseif (ord($char) === 127 || ord($char) === 8)
|
||||
// Remove the previous char (Backspace)
|
||||
// {{{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user