From a08c85a4f3f1b51e9446e3a9bf619723d74d5e6c Mon Sep 17 00:00:00 2001 From: Martinez Date: Thu, 20 Oct 2016 16:50:08 +0200 Subject: [PATCH] add over.text.Output.flush --- over/text.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/over/text.py b/over/text.py index 43d3f36..7da1236 100644 --- a/over/text.py +++ b/over/text.py @@ -355,6 +355,13 @@ class Output: self.stream.write(render(output, colors)) self.stream.flush() + def flush(self): + """ + Dummy method for compatibility. + """ + + pass + def __call__(self, *args, **kwargs): self.write(*args, **kwargs)