wezterm
wezterm copied to clipboard
[BUG] Incorrect dimensions calculation in update_status?
Describe the bug In update-status.lua:
local usable_width = pane:get_dimensions().cols - tab_bar_width - 2
Shouldn't this use the cols of the entire window instead? The status bar is not limited to a pane, and if you have a vertical split, the pane cols are half of the actual space, which makes the right status part disappear incorrectly in some cases.
To Reproduce Steps to reproduce the behavior:
- Have some tabs open
- Open a vertical split in one of the tabs
- watch the right status disappear
Expected behavior See right status as long as there is space
Desktop (please complete the following information):
- OS: [e.g. Windows]
- Versionwezterm 20240520-135708-b8f94c47