Fix what appears to be a very old bug. Tkinter in struni is more intolerant

of non-existant text widget 'marks', it seems.
This commit is contained in:
Kurt B. Kaiser 2007-08-11 04:20:51 +00:00
parent efdca3e071
commit 7378df7822
1 changed files with 1 additions and 0 deletions

View File

@ -961,6 +961,7 @@ class PyShell(OutputWindow):
"""
def begin(self):
self.text.mark_set("iomark", "insert")
self.resetoutput()
if use_subprocess:
nosub = ''