projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e828765
)
Add text properties to newlines used to unwrap long lines.
author
John Shahid
<jvshahid@gmail.com>
Tue, 26 Feb 2019 06:06:53 +0000
(
01:06
-0500)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 27 Feb 2019 13:53:14 +0000
(08:53 -0500)
* lisp/term.el (term-emulate-terminal): do it.
lisp/term.el
patch
|
blob
|
history
diff --git
a/lisp/term.el
b/lisp/term.el
index e759bb8e4fd4dbf8ab6fe3c7468cb497eeca72f9..693362cc734df0975a7f11a0807fbfc995fd0036 100644
(file)
--- 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)))