Change echo of backspace to be compatible with more terminals

This commit is contained in:
BlackMark 2020-04-01 15:33:48 +02:00
parent 6003ea6603
commit 04bcb76382

View File

@ -52,7 +52,7 @@ class Terminal {
// Handle backspace
if (inputByte == BACKSPACE && m_inputSize > 0) {
m_serial << static_cast<char>(BACKSPACE);
m_serial << F("\b \b");
--m_inputSize;
}
// Handle line terminator