Change echo of backspace to be compatible with more terminals
This commit is contained in:
parent
6003ea6603
commit
04bcb76382
@ -52,7 +52,7 @@ class Terminal {
|
|||||||
|
|
||||||
// Handle backspace
|
// Handle backspace
|
||||||
if (inputByte == BACKSPACE && m_inputSize > 0) {
|
if (inputByte == BACKSPACE && m_inputSize > 0) {
|
||||||
m_serial << static_cast<char>(BACKSPACE);
|
m_serial << F("\b \b");
|
||||||
--m_inputSize;
|
--m_inputSize;
|
||||||
}
|
}
|
||||||
// Handle line terminator
|
// Handle line terminator
|
||||||
|
Loading…
Reference in New Issue
Block a user