Commit 52cd63d5 authored by John Shahid's avatar John Shahid Committed by Stefan Monnier

Add text properties to newlines used to unwrap long lines.

* lisp/term.el (term-emulate-terminal): do it.
parent e828765d
Pipeline #866 passed with stage
in 50 minutes and 36 seconds
......@@ -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)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment