Explorar o código

add: sys.stdout.flush() for grep the output

micha %!s(int64=2) %!d(string=hai) anos
pai
achega
e815553298
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      _LibreLightDesk.py

+ 1 - 0
_LibreLightDesk.py

@@ -108,6 +108,7 @@ def cprint(*text,color="blue",space=" ",end="\n"):
     txt += '\033[0m'
     print(txt,end=end)
     #return txt
+    sys.stdout.flush() # to grep output
 
 cprint("________________________________")