소스 검색

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

micha 1 년 전
부모
커밋
e815553298
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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("________________________________")