mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
fix for password prompt
This commit is contained in:
@@ -425,9 +425,9 @@ void Shell::loop_blocking() {
|
|||||||
stop();
|
stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (running()) {
|
// if (running()) {
|
||||||
display_prompt();
|
// display_prompt();
|
||||||
}
|
// }
|
||||||
|
|
||||||
idle_time_ = uuid::get_uptime_ms();
|
idle_time_ = uuid::get_uptime_ms();
|
||||||
}
|
}
|
||||||
@@ -568,9 +568,9 @@ void Shell::process_password(bool completed) {
|
|||||||
function_copy(*this, completed, line_buffer_);
|
function_copy(*this, completed, line_buffer_);
|
||||||
line_buffer_.clear();
|
line_buffer_.clear();
|
||||||
|
|
||||||
// if (running()) {
|
if (running()) {
|
||||||
// display_prompt();
|
display_prompt();
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Shell::invoke_command(const std::string & line) {
|
void Shell::invoke_command(const std::string & line) {
|
||||||
|
|||||||
Reference in New Issue
Block a user