summaryrefslogtreecommitdiff
path: root/lisp/term.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/term.el')
-rw-r--r--lisp/term.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/term.el b/lisp/term.el
index 68a8e209558..4c2997cd3ba 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -3363,10 +3363,11 @@ See `term-prompt-regexp'."
(term-handle-colors-array term-terminal-previous-parameter))
(term-handle-colors-array term-terminal-parameter))
- ;; \E[6n - Report cursor position
+ ;; \E[6n - Report cursor position (terminfo: u7)
((eq char ?n)
(term-handle-deferred-scroll)
(process-send-string proc
+ ;; (terminfo: u6)
(format "\e[%s;%sR"
(1+ (term-current-row))
(1+ (term-horizontal-column)))))