Console : Allow to delete char with \b too (ASCII 0x08)

This commit is contained in:
2022-03-14 20:56:22 +01:00
parent 3b5a291de9
commit 3eaffe64f9

View File

@@ -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)
// {{{
{