File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -328,7 +328,8 @@ the output buffer."
328328 (jupyter-current-client , client ))
329329 (when (jupyter--reset-display-buffer-p , reset )
330330 (erase-buffer )
331- (set-marker jupyter-display-buffer-marker (point )))
331+ (set-marker jupyter-display-buffer-marker (point ))
332+ (setq ansi-color-context-region nil ))
332333 (goto-char jupyter-display-buffer-marker)
333334 (jupyter-with-control-code-handling ,@body ))))))
334335
Original file line number Diff line number Diff line change @@ -212,8 +212,6 @@ e.g. `org-babel-get-src-block-info'."
212212 (jupyter-with-display-buffer " org-results" req
213213 (jupyter-with-insertion-bounds
214214 beg end (insert text)
215- (when ansi-color-context-region
216- (move-marker (cadr ansi-color-context-region) (point )))
217215 (ansi-color-apply-on-region beg end))
218216 (jupyter-display-current-buffer-reuse-window))
219217 (jupyter-org--add-result req text))))
You can’t perform that action at this time.
0 commit comments