mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
fix: 'data plot' - plot window now hides when keypress Q
This commit is contained in:
parent
190be2bd43
commit
e8be06dd31
3 changed files with 11 additions and 6 deletions
|
@ -80,9 +80,9 @@ void PrintAndLogEx(logLevel_t level, char *fmt, ...) {
|
|||
vsnprintf(buffer, sizeof(buffer), fmt, args);
|
||||
va_end(args);
|
||||
|
||||
if(strchr(buffer, '\n')) {
|
||||
if (strchr(buffer, '\n')) {
|
||||
|
||||
token = strtok(buffer,"\n");
|
||||
token = strtok(buffer, "\n");
|
||||
|
||||
while (token != NULL) {
|
||||
size = strlen(buffer2);
|
||||
|
@ -159,9 +159,9 @@ void PrintAndLog(char *fmt, ...) {
|
|||
}
|
||||
va_end(argptr2);
|
||||
|
||||
if (g_flushAfterWrite == 1) {
|
||||
if (g_flushAfterWrite == 1)
|
||||
fflush(NULL);
|
||||
}
|
||||
|
||||
//release lock
|
||||
pthread_mutex_unlock(&print_lock);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue