File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 34
34
(eval-when-compile (require 'cl ))
35
35
(require 'eieio )
36
36
(require 'ansi-color )
37
+ (require 'comint )
37
38
38
39
(require 'ein-log )
39
40
(require 'ein-utils )
@@ -668,7 +669,9 @@ Called from ewoc pretty printer via `ein:cell-insert-output'."
668
669
Called from ewoc pretty printer via `ein:cell-insert-output' ."
669
670
(unless (plist-get json :stream )
670
671
(plist-put json :stream " stdout" ))
671
- (ein:cell-append-stream-text-fontified (plist-get json :text ) json)
672
+ (let ((start (point )))
673
+ (ein:cell-append-stream-text-fontified (plist-get json :text ) json)
674
+ (comint-carriage-motion start (point )))
672
675
; ; NOTE: newlines for stream is handled in `ein:cell-insert-output' .
673
676
; ; So do not insert newline here.
674
677
)
You can’t perform that action at this time.
0 commit comments