add flush method for stdoutProxy, for compatibility
This commit is contained in:
@@ -159,6 +159,9 @@ class Console(QtGui.QPlainTextEdit):
|
|||||||
self.write_func = write_func
|
self.write_func = write_func
|
||||||
self.skip = False
|
self.skip = False
|
||||||
|
|
||||||
|
def flush(self):
|
||||||
|
pass
|
||||||
|
|
||||||
def write(self, text):
|
def write(self, text):
|
||||||
if not self.skip:
|
if not self.skip:
|
||||||
stripped_text = text.rstrip('\n')
|
stripped_text = text.rstrip('\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user