From: John Shahid Date: Tue, 26 Feb 2019 06:06:53 +0000 (-0500) Subject: Add text properties to newlines used to unwrap long lines. X-Git-Tag: emacs-27.0.90~3534 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=52cd63d52810cc6463c0876d83d688fcb9593192;p=emacs.git Add text properties to newlines used to unwrap long lines. * lisp/term.el (term-emulate-terminal): do it. --- diff --git a/lisp/term.el b/lisp/term.el index e759bb8e4fd..693362cc734 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -2935,6 +2935,7 @@ See `term-prompt-regexp'." (delete-region (point) (line-end-position)) (term-down 1 t) (term-move-columns (- (term-current-column))) + (put-text-property (1- (point)) (point) 'term-line-wrap t) (setq decoded-substring (substring decoded-substring (- term-width old-column))) (setq old-column 0)))