update
This commit is contained in:
3
.CondaPkg/env/Lib/idlelib/outwin.py
vendored
3
.CondaPkg/env/Lib/idlelib/outwin.py
vendored
@@ -112,7 +112,7 @@ class OutputWindow(EditorWindow):
|
||||
assert isinstance(s, str)
|
||||
self.text.insert(mark, s, tags)
|
||||
self.text.see(mark)
|
||||
self.text.update_idletasks()
|
||||
self.text.update()
|
||||
return len(s)
|
||||
|
||||
def writelines(self, lines):
|
||||
@@ -182,6 +182,7 @@ class OnDemandOutputWindow:
|
||||
text.tag_raise('sel')
|
||||
self.write = self.owin.write
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
from unittest import main
|
||||
main('idlelib.idle_test.test_outwin', verbosity=2, exit=False)
|
||||
|
||||
Reference in New Issue
Block a user