wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
15.03k stars 681 forks source link

Pane resizing not working correctly when using multiplexer #5165

Open juru1234 opened 4 months ago

juru1234 commented 4 months ago

What Operating System(s) are you seeing this problem on?

Linux Wayland

Which Wayland compositor or X11 Window manager(s) are you using?

Gnome (Wayland)

WezTerm version

wezterm 20240304_213115_5d2b6e82

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

When using the multiplexer with a local unix domain, pane resizing with the mouse results in a broken pane size.

In the first picture everything is alright. Screenshot from 2024-03-14 22-12-01

Now, resizing the two right splits with the mouse (up and down) results in the following behavior: Screenshot from 2024-03-14 22-14-21

I'm not able to reach the bottom anymore without closing all the splits and splitting again.

To Reproduce

No response

Configuration

local wezterm = require 'wezterm'

local config = wezterm.config_builder()

config.color_scheme = 'AdventureTime'

config.unix_domains = {
  {
    name = 'unix',
  },
}
return config

Expected Behavior

Pane resizing with multiplexer should work.

Logs

No response

Anything else?

No response

juru1234 commented 4 months ago

Also, the opposite can happen so that the terminal is below the visible area of the wezterm window. In this case, I can't read what I type in the terminal.

juru1234 commented 3 months ago

Also tested on Windows 11. Same problem.