mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-01 18:45:10 +08:00
hf search output: simplify prompt handling
This commit is contained in:
parent
97a7349510
commit
3d18f44d35
1 changed files with 1 additions and 3 deletions
|
@ -84,8 +84,7 @@ static int usage_hf_tune(void) {
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define PROMPT_CLEARLINE PrintAndLogEx(INPLACE, " ")
|
#define PROMPT_CLEARLINE PrintAndLogEx(INPLACE, " \r")
|
||||||
#define PROMPT_EMPTYLINE PrintAndLogEx(NORMAL, "\r ");
|
|
||||||
|
|
||||||
int CmdHFSearch(const char *Cmd) {
|
int CmdHFSearch(const char *Cmd) {
|
||||||
|
|
||||||
|
@ -189,7 +188,6 @@ int CmdHFSearch(const char *Cmd) {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
PROMPT_CLEARLINE;
|
PROMPT_CLEARLINE;
|
||||||
PROMPT_EMPTYLINE;
|
|
||||||
if (res != PM3_SUCCESS) {
|
if (res != PM3_SUCCESS) {
|
||||||
|
|
||||||
PrintAndLogEx(WARNING, _RED_("No known/supported 13.56 MHz tags found"));
|
PrintAndLogEx(WARNING, _RED_("No known/supported 13.56 MHz tags found"));
|
||||||
|
|
Loading…
Reference in a new issue