X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/b13fa4448f517b46e917c5145050f434d6df24d5..c585a5cf0b96d30119e1adb45c69e579e475d046:/client/ui.c?ds=inline diff --git a/client/ui.c b/client/ui.c index 5fe58dc2..c0d01bc3 100644 --- a/client/ui.c +++ b/client/ui.c @@ -21,7 +21,7 @@ double CursorScaleFactor; int PlotGridX, PlotGridY, PlotGridXdefault= 64, PlotGridYdefault= 64; int offline; - +int flushAfterWrite = 0; //buzzy extern pthread_mutex_t print_lock; static char *logfilename = "proxmark3.log"; @@ -77,6 +77,10 @@ void PrintAndLog(char *fmt, ...) } va_end(argptr2); + if (flushAfterWrite == 1) //buzzy + { + fflush(NULL); + } //release lock pthread_mutex_unlock(&print_lock); }