Check C-h v comint-process-echoes
in that buffer.
If it's nil
, try (setq-local comint-process-echoes t)
If that fixes it, then you can use this repl's major mode hook to do that automatically.
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
Check C-h v comint-process-echoes
in that buffer.
If it's nil
, try (setq-local comint-process-echoes t)
If that fixes it, then you can use this repl's major mode hook to do that automatically.
Some answers here
https://stackoverflow.com/questions/75103221/emacs-remove-python-el-eval-message
(defun python-comint-filter (output)
(let* ((regexp "^.*__PYTHON_EL_\\(.*\\)\\(.*\\)[[:space:]]*$")
(lines (split-string output "\n"))
(filtered-lines (remove-if (lambda (line)
(or (string-match-p regexp line)
(string-match-p "^\\s-*$" line)))
lines)))
(if (equal (length lines) (length filtered-lines))
output
(mapconcat 'identity filtered-lines "\n"))))