wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

When using domain sockets, terminal inside pane doesn't get resized.

Open aca opened this issue 1 year ago • 1 comments

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

Linux Wayland

WezTerm version

wezterm 20220709-231243-60728793

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 I split pane vertically and close the pane. terminal doesn't get resized. If you look at the bottom of the screenshot. it should show vim's statusline but it doesn't. It get resized if I resize the wezterm itself.

image

It only happens when I use daemon? feature.

    unix_domains = {
        {
            name = "unix"
        }
    },
    default_gui_startup_args = {"connect", "unix"},

To Reproduce

With the setup below, fill the pane with some text like find . or vim. Split vertically and close it.

Configuration

local config = {
    unix_domains = {
        {
            name = "unix"
        }
    },
    default_gui_startup_args = {"connect", "unix"},
    leader = { key = " ", mods = "CTRL", timeout_milliseconds = 1000 },
    send_composed_key_when_left_alt_is_pressed = false,
    keys = {
        { key = "w", mods = "CTRL", action = "QuickSelect" },

        {
            key = '"',
            mods = "LEADER",
            action = wezterm.action({ SplitVertical = { domain = "CurrentPaneDomain" } }),
        },
        {
            key = '"',
            mods = "LEADER|SHIFT",
            action = wezterm.action({ SplitVertical = { domain = "CurrentPaneDomain" } }),
        },

        -- close
        { key = "x", mods = "LEADER", action = wezterm.action({ CloseCurrentPane = { confirm = false } }) },
        { key = "x", mods = "LEADER|SHIFT", action = wezterm.action({ CloseCurrentTab = { confirm = false } }) },
        -- { key = "X", mods = "LEADER", action = wezterm.action({ CloseCurrentTab = { confirm = false } }) },
       }
}

return config

Expected Behavior

Should be resized if other pane is closed.

Logs

No response

Anything else?

No response

aca avatar Jul 16 '22 05:07 aca

I can't reproduce this. Are there other steps needed? Note that there are a couple of known issues of something being funky around this:

  • https://github.com/wez/wezterm/issues/1818
  • https://github.com/wez/wezterm/issues/783

wez avatar Jul 22 '22 14:07 wez

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

github-actions[bot] avatar Aug 22 '22 02:08 github-actions[bot]

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar Feb 03 '23 20:02 github-actions[bot]