]> git.eshelyaron.com Git - emacs.git/commit
Handle split AnSiT messages for term.el (Bug#17231)
authorCallum Cameron <cjcameron7@gmail.com>
Wed, 9 Apr 2014 10:12:25 +0000 (11:12 +0100)
committerNoam Postavsky <npostavs@gmail.com>
Fri, 19 Jan 2018 03:17:07 +0000 (22:17 -0500)
commit5472568a3c2338856d25380012ee4398e024c806
treed0f6efce7d489d9035449d71a31121f96b1bda08
parent297dc41e2c6e84efac092e2d6f69824cb3b6d98d
Handle split AnSiT messages for term.el (Bug#17231)

Check to see if there is an incomplete command at the end of
term-emulate-terminal's input string, and, if so, save it so the whole
command can be processed when the next string arrives.
* lisp/term.el (term-partial-ansi-terminal-message): New variable.
(term-mode): Make it buffer local.
(term-handle-ansi-terminal-messages): Prepend it to the received
message, and set it if a partial message was received.

Copyright-paperwork-exempt: yes

Do not merge to master, it will be solved differently there, see
"Switch term.el to lexical binding, and clean up code a bit".
lisp/term.el