Show More
@@ -191,6 +191,9 b' def extend_shell_behavior(ip):' | |||||
191 | # add the last (current) line to the command |
|
191 | # add the last (current) line to the command | |
192 | command += line |
|
192 | command += line | |
193 | if command or more: |
|
193 | if command or more: | |
|
194 | # push to raw history, so hist line numbers stay in sync | |||
|
195 | ip.IP.input_hist_raw.append("# " + command + "\n") | |||
|
196 | ||||
194 | more = ip.IP.push(ip.IP.prefilter(command,more)) |
|
197 | more = ip.IP.push(ip.IP.prefilter(command,more)) | |
195 | command = '' |
|
198 | command = '' | |
196 | # IPython's runsource returns None if there was an error |
|
199 | # IPython's runsource returns None if there was an error |
General Comments 0
You need to be logged in to leave comments.
Login now