Add pm3line API to hide readline, allowing easier implementation of alternatives

This commit is contained in:
Philippe Teuwen committed 2022-01-11 23:13:22 +01:00
1 parent 4e78034a6e
commit fc13b6b20c
12 files changed
+265 -227

No files matched your search

+1 -1
View File
@@ -993,7 +993,7 @@ void pm3_version(bool verbose, bool oneliner) {
PrintAndLogEx(NORMAL, "%s", temp);
PrintAndLogEx(NORMAL, " compiled with............. " PM3CLIENTCOMPILER __VERSION__);
PrintAndLogEx(NORMAL, " platform.................. " PM3HOSTOS " / " PM3HOSTARCH);
#ifdef HAVE_READLINE
#if defined(HAVE_READLINE)
PrintAndLogEx(NORMAL, " Readline support.......... " _GREEN_("present"));
#else
PrintAndLogEx(NORMAL, " Readline support.......... " _YELLOW_("absent"));