From 28fde37f93ae4e0dcb1a96fc65b07d3a76fc6034 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Sat, 24 Apr 2021 09:48:20 +0200 Subject: [PATCH] shell reset lineold if edited --- lib/uuid-console/src/shell.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/uuid-console/src/shell.cpp b/lib/uuid-console/src/shell.cpp index 2acaba04c..fd3a7194f 100644 --- a/lib/uuid-console/src/shell.cpp +++ b/lib/uuid-console/src/shell.cpp @@ -291,6 +291,7 @@ void Shell::loop_normal() { } else if (c >= '\x20' && c <= '\x7E') { if (line_buffer_.length() < maximum_command_line_length_) { line_buffer_.insert(line_buffer_.length() - cursor_, 1, c); + line_no_ = 0; } } break;