emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/coterm 376b819ec0 2/2: Support sequence \e[f (apt uses


From: ELPA Syncer
Subject: [elpa] externals/coterm 376b819ec0 2/2: Support sequence \e[f (apt uses it as an equivalent to \e[H)
Date: Mon, 27 Dec 2021 16:57:22 -0500 (EST)

branch: externals/coterm
commit 376b819ec01077a623556d557c86cf9438975881
Author: Miha Rihtaršič <miha@kamnitnik.top>
Commit: Miha Rihtaršič <miha@kamnitnik.top>

    Support sequence \e[f (apt uses it as an equivalent to \e[H)
---
 coterm.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/coterm.el b/coterm.el
index ad06ce5c69..a546758020 100644
--- a/coterm.el
+++ b/coterm.el
@@ -1056,7 +1056,7 @@ buffer and the scrolling region must cover the whole 
screen."
                                                 (split-string ctl-params ";")))
                        (ins)
                        (pcase char
-                         (?H ;; cursor motion (terminfo: cup,home)
+                         ((or ?H ?f) ;; cursor motion (terminfo: cup,home)
                           (setq coterm--t-row
                                 (1- (max 1 (min (car-or-1) coterm--t-height))))
                           (setq coterm--t-col



reply via email to

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