Show More
@@ -197,7 +197,13 b' class IPythonWidget(FrontendWidget):' | |||
|
197 | 197 | # reset retry flag |
|
198 | 198 | self._retrying_history_request = False |
|
199 | 199 | history_items = content['history'] |
|
200 | items = [ line.rstrip() for _, _, line in history_items ] | |
|
200 | items = [] | |
|
201 | last_cell = u"" | |
|
202 | for _, _, cell in history_items: | |
|
203 | cell = cell.rstrip() | |
|
204 | if cell != last_cell: | |
|
205 | items.append(cell) | |
|
206 | last_cell = cell | |
|
201 | 207 | self._set_history(items) |
|
202 | 208 | |
|
203 | 209 | def _handle_pyout(self, msg): |
General Comments 0
You need to be logged in to leave comments.
Login now