##// END OF EJS Templates
Out[] prompt now reflects updated execution_count
Paul Ivanov -
Show More
@@ -129,8 +129,9 b' class ZMQTerminalInteractiveShell(TerminalInteractiveShell):'
129 elif sub_msg["content"]["name"] == "stderr" :
129 elif sub_msg["content"]["name"] == "stderr" :
130 print(sub_msg["content"]["data"], file=io.stderr, end="")
130 print(sub_msg["content"]["data"], file=io.stderr, end="")
131 io.stderr.flush()
131 io.stderr.flush()
132
132
133 elif msg_type == 'pyout':
133 elif msg_type == 'pyout':
134 self.execution_count = int(sub_msg["content"]["execution_count"])
134 format_dict = sub_msg["content"]["data"]
135 format_dict = sub_msg["content"]["data"]
135 # taken from DisplayHook.__call__:
136 # taken from DisplayHook.__call__:
136 hook = self.displayhook
137 hook = self.displayhook
General Comments 0
You need to be logged in to leave comments. Login now