[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/coterm d6912da 42/80: Support sequences \eE[E, F and G
From: |
ELPA Syncer |
Subject: |
[elpa] externals/coterm d6912da 42/80: Support sequences \eE[E, F and G (pacman uses them) |
Date: |
Wed, 13 Oct 2021 18:57:33 -0400 (EDT) |
branch: externals/coterm
commit d6912dabc930f1945c9610fc11b9bb4ca209f7a7
Author: m <>
Commit: m <>
Support sequences \eE[E, F and G (pacman uses them)
---
coterm.el | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/coterm.el b/coterm.el
index e9daef0..5df3688 100644
--- a/coterm.el
+++ b/coterm.el
@@ -572,6 +572,20 @@ If `coterm--t-home-marker' is nil, initialize it sensibly."
(setq coterm--t-col (max (- coterm--t-col (car-or-1))
0))
(dirty))
+ (?E ;; \E[E - cursor down and column 0
+ (setq coterm--t-row (min (+ coterm--t-row (car-or-1))
+ (1- coterm--t-scroll-end)))
+ (setq coterm--t-col 0)
+ (dirty))
+ (?F ;; \E[F - cursor up and column 0
+ (setq coterm--t-row (max (- coterm--t-row (car-or-1))
+ coterm--t-scroll-beg))
+ (setq coterm--t-col 0)
+ (dirty))
+ (?G ;; \E[G - horizontal cursor position
+ (setq coterm--t-col (min (1- (car-or-1))
+ (1- coterm--t-width)))
+ (dirty))
;; \E[J - clear to end of screen (terminfo: ed, clear)
((and ?J (guard (eq 0 (car ctl-params))))
(coterm--t-delete-region coterm--t-row coterm--t-col)
- [elpa] externals/coterm ab1dcd4 14/80: Fix typo, (continued)
- [elpa] externals/coterm ab1dcd4 14/80: Fix typo, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm ba651c6 15/80: Fix negative and too high column positions, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 2403460 16/80: Make all coterm-t-* variables private, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 753fba8 21/80: Refactor line deletion and insertion, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 9d532fb 22/80: Refactor some more, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm e21bb54 18/80: Major refactor and started scroll region, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 4a23ae2 23/80: Further refactor some more, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 08cf379 19/80: Minor fixes, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 9e7720b 37/80: Use save-excursion more sparingly, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 4943e16 41/80: Footer and header, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm d6912da 42/80: Support sequences \eE[E, F and G (pacman uses them),
ELPA Syncer <=
- [elpa] externals/coterm 71d2dc1 30/80: Implement user-facing variables and minor mode, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm dfebb62 46/80: Add comint output filter function buffer locally, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm bd103f9 56/80: [auto-char] Fix searching in less, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm d5042f6 65/80: Inhibit Emacs from automatically decoding \r\n into \n, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 90823af 77/80: Revert "Inhibit Emacs from automatically decoding \r\n into \n", ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 066cd45 70/80: Explain how coterm does/doesn't do line-wrapping, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 08208f3 33/80: Handle \r\n sequence properly, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm f334168 24/80: Rename function, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 8b2836e 28/80: Fix incorrect handling of incomplete escape sequences, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 1ec97d2 29/80: \n doesn't go to column 0, ELPA Syncer, 2021/10/13