aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Brumlow <mbrumlow@roblox.com>2024-03-24 19:57:21 -0700
committerGabriele Bozzola <sbozzolator@gmail.com>2024-03-25 08:51:14 -0700
commitae4ae1aef2fcae98a37aad83f2a6aeeaeacedd4f (patch)
tree7afafe36495f3776ddf0598d4d05e99386c460b9
parent303decd923ef83a184b861d34081fd8635484a03 (diff)
Ensures the starting col is the same as later calculated
-rw-r--r--vterm.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/vterm.el b/vterm.el
index ebb5b2a..04c9058 100644
--- a/vterm.el
+++ b/vterm.el
@@ -751,7 +751,7 @@ Exceptions are defined by `vterm-keymap-exceptions'."
(inhibit-eol-conversion nil)
(coding-system-for-read 'binary)
(process-adaptive-read-buffering nil)
- (width (max (- (window-body-width) (vterm--get-margin-width))
+ (width (max (- (window-max-chars-per-line) (vterm--get-margin-width))
vterm-min-window-width)))
(setq vterm--term (vterm--new (window-body-height)
width vterm-max-scrollback