shell reset lineold if edited

This commit is contained in:
MichaelDvP
2021-04-24 09:48:20 +02:00
parent 3797342a93
commit 28fde37f93

View File

@@ -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;