I have an open buffer with major mode
ansi-term, and with scrollback. This buffer has crashed.
I'd like to "recycle" the buffer into a new
ansi-term such that scrollback is kept. How can I do this?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
I exited from an bash shell in ansi-term, and this worked for me to resurrect my terminal:
M-: (make-term "ansi-term" "/bin/bash") RET
(Credits to wgreenhouse on freenode #emacs irc, though he used