better output from setting prompt, cursor is still inside ...

This commit is contained in:
iceman1001 2019-05-07 12:29:26 +02:00
parent f85280ad41
commit b91e21edde

View file

@ -57,7 +57,8 @@ int check_comm(void) {
if ( IsCommunicationThreadDead() && session.pm3_present) {
rl_set_prompt("[offline] "PROXPROMPT);
session.pm3_present = false;
PrintAndLogEx(INFO, "Running in " _YELLOW_("OFFLINE") "mode. Use \"hw connect\" to reconnect\n");
PrintAndLogEx(INFO, "\nRunning in " _YELLOW_("OFFLINE") "mode. Use \"hw connect\" to reconnect\n");
}
return 0;
}