emitting: add flush stdout after print (#877)

This commit is contained in:
Maksym Naboka
2017-01-18 17:46:57 -08:00
committed by tamarrow
parent 033b575e56
commit c2d59ff8a6

View File

@@ -155,6 +155,7 @@ def _page(output, pager_command=None):
if not sys.stdout.isatty() or util.is_windows_platform():
print(output)
sys.stdout.flush()
return
num_lines = output.count('\n')