From 04bcb76382f65ea2bb3f3eafb6b215437169ab14 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Wed, 1 Apr 2020 15:33:48 +0200 Subject: [PATCH] Change echo of backspace to be compatible with more terminals --- fantemp/terminal.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fantemp/terminal.hpp b/fantemp/terminal.hpp index 29a0eaa..19739bc 100644 --- a/fantemp/terminal.hpp +++ b/fantemp/terminal.hpp @@ -52,7 +52,7 @@ class Terminal { // Handle backspace if (inputByte == BACKSPACE && m_inputSize > 0) { - m_serial << static_cast(BACKSPACE); + m_serial << F("\b \b"); --m_inputSize; } // Handle line terminator