Commit 467e6ccb authored by John Shahid's avatar John Shahid Committed by Stefan Monnier

Adjust line wrapping on window resize and killing text

* lisp/term.el (term-mode): Advice filter-buffer-substring-function to
remove line unwrapping from killed text.
(term-reset-size): Add or remove line unwrapping depending on the new
terminal width.
(term-suppress-hard-newline): Mark obsolete.
(term-unwrap-line): Use text properties to be able to find the
newlines later.
parent 28f7e981
Pipeline #851 passed with stage
in 52 minutes and 33 seconds