From ff9776bc487b2bf607398ccc3069944e6a33ce8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20F=C3=BCrmetz?= Date: Sun, 11 Nov 2018 20:41:26 +0100 Subject: Inhibit read-only when the size of the window is set --- vterm.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vterm.el b/vterm.el index 0e2cb96..7e5a259 100644 --- a/vterm.el +++ b/vterm.el @@ -199,7 +199,8 @@ Feeds the size change to the virtual terminal." (when (and (processp vterm--process) (process-live-p vterm--process)) (let ((height (window-body-height window)) - (width (window-body-width window))) + (width (window-body-width window)) + (inhibit-read-only t)) (set-process-window-size vterm--process height width) (vterm--set-size vterm--term height width)))))) -- cgit v1.0