fix for password prompt

This commit is contained in:
proddy
2021-01-04 12:43:12 +01:00
parent 876916cbb4
commit bcfd848fec

View File

@@ -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) {