diff options
Diffstat (limited to 'Tools/idle/OutputWindow.py')
-rw-r--r-- | Tools/idle/OutputWindow.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/idle/OutputWindow.py b/Tools/idle/OutputWindow.py index 0c36a88..3d97362 100644 --- a/Tools/idle/OutputWindow.py +++ b/Tools/idle/OutputWindow.py @@ -111,17 +111,17 @@ class OnDemandOutputWindow: # XXX Should use IdlePrefs.ColorPrefs "stdout": {"foreground": "blue"}, "stderr": {"foreground": "#007700"}, - } - + } + def __init__(self, flist): self.flist = flist self.owin = None - + def write(self, s, tags, mark): if not self.owin: self.setup() self.owin.write(s, tags, mark) - + def setup(self): self.owin = owin = OutputWindow(self.flist) text = owin.text |