mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
Use jupyter-repl-insert-ansi-coded-text
when appropriate
This commit is contained in:
parent
4a7c463931
commit
dd6ec47bdb
1 changed files with 1 additions and 3 deletions
|
@ -817,9 +817,7 @@ lines then truncate it to something less than
|
|||
(let ((text (plist-get (plist-get pl :data) :text/plain))
|
||||
(line (or (plist-get pl :start) 0))))
|
||||
(with-jupyter-repl-doc-buffer "pager"
|
||||
(setq text (xterm-color-filter text))
|
||||
(jupyter-repl-add-font-lock-properties 0 (length text) text)
|
||||
(insert text)
|
||||
(jupyter-repl-insert-ansi-coded-text text)
|
||||
(goto-char (point-min))
|
||||
(forward-line line)
|
||||
(display-buffer (current-buffer) '(display-buffer-at-bottom
|
||||
|
|
Loading…
Add table
Reference in a new issue