aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Fürmetz <fuermetz@mailbox.org>2018-11-11 20:41:26 +0100
committerLukas Fürmetz <fuermetz@mailbox.org>2018-11-11 20:41:26 +0100
commitff9776bc487b2bf607398ccc3069944e6a33ce8a (patch)
treea202808fa3c4159c08af238ae2e7399facd868c9
parentcad535b6000ec2ba2253e30f93103e0c8218e6d4 (diff)
Inhibit read-only when the size of the window is set
-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))))))