Show More
@@ -274,9 +274,6 b' var IPython = (function (IPython) {' | |||
|
274 | 274 | |
|
275 | 275 | // validate output data types |
|
276 | 276 | json = this.validate_output(json); |
|
277 | // TODO: Why are we recieving these new line characters for no | |
|
278 | // reason? They ruin everything. | |
|
279 | if (json.output_type === 'stream' && !json.text.trim()) return; | |
|
280 | 277 | |
|
281 | 278 | // Clear the output if clear is queued. |
|
282 | 279 | var needs_height_reset = false; |
@@ -90,11 +90,7 b' class ZMQDisplayPublisher(DisplayPublisher):' | |||
|
90 | 90 | |
|
91 | 91 | def clear_output(self, wait=False): |
|
92 | 92 | content = dict(wait=wait) |
|
93 | ||
|
94 | print('\r', file=sys.stdout, end='') | |
|
95 | print('\r', file=sys.stderr, end='') | |
|
96 | 93 | self._flush_streams() |
|
97 | ||
|
98 | 94 | self.session.send( |
|
99 | 95 | self.pub_socket, u'clear_output', content, |
|
100 | 96 | parent=self.parent_header, ident=self.topic, |
General Comments 0
You need to be logged in to leave comments.
Login now