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

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

[nongnu] elpa/eat 89983b580c: Allow terminal text modification after it'


From: ELPA Syncer
Subject: [nongnu] elpa/eat 89983b580c: Allow terminal text modification after it's killed
Date: Thu, 14 Sep 2023 03:59:50 -0400 (EDT)

branch: elpa/eat
commit 89983b580ce573b886444a00f4750e3a01a17301
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>

    Allow terminal text modification after it's killed
    
    * eat.el (eat--sentinel): Remove 'read-only' and other text
    properties from the terminal region.
---
 eat.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/eat.el b/eat.el
index 316ac3656d..808c5148df 100644
--- a/eat.el
+++ b/eat.el
@@ -6428,6 +6428,11 @@ to it."
                 (delete-region (eat-term-end eat--terminal)
                                (point-max)))
               (eat-emacs-mode)
+              (remove-text-properties
+               (eat-term-beginning eat--terminal)
+               (eat-term-end eat--terminal)
+               '( read-only nil rear-nonsticky nil front-sticky nil
+                  field nil))
               (eat-term-delete eat--terminal)
               (setq eat--terminal nil)
               (eat--set-cursor nil :default)



reply via email to

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