• John Shahid's avatar
    Adjust line wrapping on window resize and killing text · 467e6ccb
    John Shahid authored
    * 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.
term.el 179 KB