]> jfr.im git - z_archive/twitter.git/blobdiff - twitter/cmdline.py
Flush after performing an action in the refresh case.
[z_archive/twitter.git] / twitter / cmdline.py
index 8353df3473eff11d79af3e76c624cb8bb76d04a8..775df731b977f22eaaa7cfa4a5beb1ff3e044443 100644 (file)
@@ -352,6 +352,7 @@ class Action(object):
             if (options['refresh'] and isinstance(action, StatusAction)):
                 while True:
                     doAction()
+                    sys.stdout.flush()
                     time.sleep(options['refresh_rate'])
             else:
                 doAction()