X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/b13fa4448f517b46e917c5145050f434d6df24d5..c44241fdea1235f85f5a134fa4bc7dade39824bb:/client/ui.c?ds=sidebyside 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); }