From 52cd63d52810cc6463c0876d83d688fcb9593192 Mon Sep 17 00:00:00 2001 From: John Shahid Date: Tue, 26 Feb 2019 01:06:53 -0500 Subject: [PATCH] Add text properties to newlines used to unwrap long lines. * lisp/term.el (term-emulate-terminal): do it. --- lisp/term.el | 1 + 1 file changed, 1 insertion(+) 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))) -- 2.39.2