Scroll to bottom of window on new stream output

See #244
This commit is contained in:
Nathaniel Nicandro 2021-11-17 19:36:46 -06:00
parent f178c1c7b8
commit b87ecf0cd3

View file

@ -1175,7 +1175,8 @@ See `jupyter-eval-short-result-max-lines' and
(_ "output")) (_ "output"))
req req
(jupyter-insert-ansi-coded-text text) (jupyter-insert-ansi-coded-text text)
(jupyter-display-current-buffer-guess-where :stream)))))) (when-let* ((window (jupyter-display-current-buffer-guess-where :stream)))
(set-window-point window (point-max))))))))
req)) req))
(cl-defgeneric jupyter-eval-string (str &optional beg end) (cl-defgeneric jupyter-eval-string (str &optional beg end)