aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vterm.el3
1 files changed, 2 insertions, 1 deletions
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))))))