emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 52cd63d: Add text properties to newlines used to un


From: Stefan Monnier
Subject: [Emacs-diffs] master 52cd63d: Add text properties to newlines used to unwrap long lines.
Date: Wed, 27 Feb 2019 08:53:24 -0500 (EST)

branch: master
commit 52cd63d52810cc6463c0876d83d688fcb9593192
Author: John Shahid <address@hidden>
Commit: Stefan Monnier <address@hidden>

    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 e759bb8..693362c 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]