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();
|
||||
}
|
||||
|
||||
if (running()) {
|
||||
display_prompt();
|
||||
}
|
||||
// if (running()) {
|
||||
// display_prompt();
|
||||
// }
|
||||
|
||||
idle_time_ = uuid::get_uptime_ms();
|
||||
}
|
||||
@@ -568,9 +568,9 @@ void Shell::process_password(bool completed) {
|
||||
function_copy(*this, completed, line_buffer_);
|
||||
line_buffer_.clear();
|
||||
|
||||
// if (running()) {
|
||||
// display_prompt();
|
||||
// }
|
||||
if (running()) {
|
||||
display_prompt();
|
||||
}
|
||||
}
|
||||
|
||||
void Shell::invoke_command(const std::string & line) {
|
||||
|
||||
Reference in New Issue
Block a user