summaryrefslogtreecommitdiff
path: root/lisp/term.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-05-11 17:11:06 +0000
committerRichard M. Stallman <rms@gnu.org>1996-05-11 17:11:06 +0000
commit62ed10d25532523cec596f221be9eddfd4e811aa (patch)
treed2c80b811259c1ba27530f609fdfc0e5f71ebc22 /lisp/term.el
parent923631cfdff817e17f43d5f8f0ce48b8b510c413 (diff)
downloademacs-62ed10d25532523cec596f221be9eddfd4e811aa.tar.gz
(term-emulate-terminal): On CR, set term-current-column
to term-start-line-column, not 0.
Diffstat (limited to 'lisp/term.el')
-rw-r--r--lisp/term.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/term.el b/lisp/term.el
index 4ea880de1ee..4209e8129f2 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -2189,7 +2189,7 @@ See `term-prompt-regexp'."
(setq i temp))
(t ;; Not followed by LF or can't optimize:
(term-vertical-motion 0)
- (setq term-current-column 0))))
+ (setq term-current-column term-start-line-column))))
((eq char ?\n)
(if (not (and term-kill-echo-list
(term-check-kill-echo-list)))