X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2dcdf1a68371477cbf1b5faa8e157c131f0c2f1b..ed77aabe00d1453217b16f2d3cc4711d0981fb93:/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); }