emitting: add flush stdout after print (#877)
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user