mirror of https://github.com/python/cpython
Moved tk.record() to record whole commands instead of lines
This commit is contained in:
parent
5e8d3724fe
commit
8d1e439b89
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue