Allow terminal text modification after it's killed

* eat.el (eat--sentinel): Remove 'read-only' and other text
properties from the terminal region.
This commit is contained in:
Akib Azmain Turja 2023-09-14 11:14:34 +06:00
parent 80ce477055
commit 89983b580c
No known key found for this signature in database
GPG key ID: 5535FCF54D88616B

5
eat.el
View file

@ -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)