Skip to content

Commit

Permalink
Scroll to bottom of window on new stream output
Browse files Browse the repository at this point in the history
  • Loading branch information
nnicandro committed Nov 18, 2021
1 parent f178c1c commit b87ecf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jupyter-client.el
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,8 @@ See `jupyter-eval-short-result-max-lines' and
(_ "output"))
req
(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))

(cl-defgeneric jupyter-eval-string (str &optional beg end)
Expand Down

0 comments on commit b87ecf0

Please sign in to comment.