mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Moved tk.record() to record whole commands instead of lines
This commit is contained in:
parent
5e8d3724fe
commit
8d1e439b89
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue