mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
shell reset lineold if edited
This commit is contained in:
@@ -291,6 +291,7 @@ void Shell::loop_normal() {
|
|||||||
} else if (c >= '\x20' && c <= '\x7E') {
|
} else if (c >= '\x20' && c <= '\x7E') {
|
||||||
if (line_buffer_.length() < maximum_command_line_length_) {
|
if (line_buffer_.length() < maximum_command_line_length_) {
|
||||||
line_buffer_.insert(line_buffer_.length() - cursor_, 1, c);
|
line_buffer_.insert(line_buffer_.length() - cursor_, 1, c);
|
||||||
|
line_no_ = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user