[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/coterm 96a636e 64/80: Protect user input at EOB more ac
From: |
ELPA Syncer |
Subject: |
[elpa] externals/coterm 96a636e 64/80: Protect user input at EOB more accurately |
Date: |
Wed, 13 Oct 2021 18:57:37 -0400 (EDT) |
branch: externals/coterm
commit 96a636e3c745941e9eb5dce5247c57750609a121
Author: m <>
Commit: m <>
Protect user input at EOB more accurately
---
coterm.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/coterm.el b/coterm.el
index 6600acf..d1ead36 100644
--- a/coterm.el
+++ b/coterm.el
@@ -438,12 +438,12 @@ only leave these modes once cursor moves to the bottom
line."
If there is no user input at end of buffer, simply widen. PMARK
is the process mark."
(widen)
- (unless (eq (get-char-property (max 1 (1- (point-max))) 'field)
- 'output)
- (goto-char (point-max))
- (text-property-search-backward 'field 'output)
- (when (<= pmark (point))
- (narrow-to-region (point-min) (point)))))
+ (unless comint-use-prompt-regexp
+ (unless (eq (get-char-property (max 1 (1- (point-max))) 'field)
+ 'output)
+ (goto-char (point-max))
+ (text-property-search-backward 'field 'output)
+ (narrow-to-region (point-min) (max pmark (point))))))
;;; Terminal emulation
- [elpa] externals/coterm 570ae6d 74/80: Mention auto char mode as a difference from term.el, (continued)
- [elpa] externals/coterm 570ae6d 74/80: Mention auto char mode as a difference from term.el, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm c825746 27/80: Fix issue with ansi-color context marker, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 73aa1f3 31/80: Properly handle OSC and Emacs specific escape sequences, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm f4f69ab 32/80: Export TERMINFO environment variable, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 654e286 49/80: Fix mistake in turning mode off, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm fd4041e 58/80: Remove redundant "(dirty)", ELPA Syncer, 2021/10/13
- [elpa] externals/coterm edfdbb7 50/80: Ignore sequences \e= end \e> (output by mpv), ELPA Syncer, 2021/10/13
- [elpa] externals/coterm e534194 60/80: Fix buffer-locality of saved scroll-margin, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 952b917 52/80: Better indication of current char-mode status, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm bfcd5e4 63/80: Properly indicate that pmark is synchronized, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 96a636e 64/80: Protect user input at EOB more accurately,
ELPA Syncer <=
- [elpa] externals/coterm bd7c681 73/80: Further document the "less" line-wrap workaround, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm e0a38cc 53/80: Add more documentation for auto char mode, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 10205c8 66/80: Improve README, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 7941200 61/80: Describe package, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm e268359 59/80: Account for home marker reposition when clearing screen, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 8a5ffd9 68/80: Fix 'coterm--t-goto' for column zero, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 11a9594 78/80: [auto-char] Detect prompts from "less -M", ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 8ca9291 71/80: Minor fixes to description, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 07a2570 69/80: Work around a line wrapping issue with "less", ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 139e8d0 79/80: Fix for Emacs 27, ELPA Syncer, 2021/10/13