Moved tk.record() to record whole commands instead of lines

This commit is contained in:
Guido van Rossum 1994-06-20 08:13:02 +00:00
parent 5e8d3724fe
commit 8d1e439b89
1 changed files with 1 additions and 1 deletions

View File

@ -15,8 +15,8 @@ while 1:
except EOFError:
break
cmd = cmd + (line + '\n')
tk.record(line)
if tk.getboolean(tk.call('info', 'complete', cmd)):
tk.record(line)
try:
result = tk.call('eval', cmd)
except tkinter.TclError, msg: