diff options
author | Johan Claesson <johanclaesson@bredband.net> | 2016-12-28 12:56:11 -0500 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-01-04 23:20:47 -0500 |
commit | d88cdad2847726438c7d1de9fd2651c4be9243aa (patch) | |
tree | 536d471f117c2c2d14b13d2ab59285f41000ef5f /test/lisp/emacs-lisp/pcase-tests.el | |
parent | 0392f942c787f1a42b3e5d9516a447687ed3baef (diff) | |
download | emacs-d88cdad2847726438c7d1de9fd2651c4be9243aa.tar.gz emacs-d88cdad2847726438c7d1de9fd2651c4be9243aa.tar.bz2 emacs-d88cdad2847726438c7d1de9fd2651c4be9243aa.zip |
Fix term.el handling of ^Z-sequences spanning chunks
Bash will after each command send ?\032 and the current directory "/tmp"
to inform term.el. Bash output is buffered in 4096 bytes chunks. If a
command outputs roughly 4096 bytes then the end of the first chunk will
be "/tm" (Bug#13350).
* lisp/term.el (term-emulate-terminal): Change the regexp to find the
end of the ?\032 sequence to use \n instead of $, the latter can match
end of string as well.
Copyright-paperwork-exempt: yes
Diffstat (limited to 'test/lisp/emacs-lisp/pcase-tests.el')
0 files changed, 0 insertions, 0 deletions