fix garbled console output with chinese characters (#108)

This commit is contained in:
eee
2023-03-31 22:26:47 +08:00
committed by GitHub
parent f69b4e9396
commit c0620a1fe1
2 changed files with 3 additions and 3 deletions

View File

@@ -113,7 +113,7 @@ def main():
result = recognizer.get_result(stream)
if last_result != result:
last_result = result
display.print(-1, result)
print("\r{}".format(result), end="", flush=True)
if __name__ == "__main__":