From 89983b580ce573b886444a00f4750e3a01a17301 Mon Sep 17 00:00:00 2001 From: Akib Azmain Turja Date: Thu, 14 Sep 2023 11:14:34 +0600 Subject: [PATCH] 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 316ac36..808c514 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)