You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Vertical window always has a width of 8 no matter what size= is set to #648
following the exact copy and paste found in the GitHub site, I set the width for vertical to be 80 or 300 or vim.o.colums * 0.4 and it always defaults to 8 columns wide no matter what I do.
Expected Behavior
size= should do something in vertical mode
Steps To Reproduce
latest nvim
vim.keymap.set("n", "rp", function()
local file = vim.fn.expand("%:p") -- full path to current file
local Terminal = require("toggleterm.terminal").Terminal
Activity
xcfw commentedon Sep 3, 2025
I have the same issue, when tried to use it for claude code I also found on mbp m2 that vertical terminal is missized
agwhitaker93 commentedon Sep 3, 2025
Terminal:new doesn't accept a size parameter. You can provide a size when you call :toggle on it though
Or you can provide a size function when setting toggleterm up