From a20392edf340e50ca9aa1144aef38cc4441fca3b Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 7 May 2019 12:18:51 +0200 Subject: [PATCH] change offline prompt asap --- client/proxmark3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/proxmark3.c b/client/proxmark3.c index 0080a6a27..b8ca3e4ff 100644 --- a/client/proxmark3.c +++ b/client/proxmark3.c @@ -55,6 +55,7 @@ static void showBanner(void) { int check_comm(void) { // If communications thread goes down. Device disconnected then this should hook up PM3 again. 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"); }