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(); 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) {