wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

close confirmation does not work for single tab pane running tmux

Open eddiehazel opened this issue 5 months ago • 1 comments

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

macOS

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

No response

WezTerm version

wezterm 20240203-110809-5046fc22

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

yep!

Describe the bug

if only one tab is open and tmux is running, cmd-w closes the tab without confirmation even with the following config

To Reproduce

No response

Configuration

keys:

        {
                key = "w",
                mods = "CMD",
                action = wezterm.action.CloseCurrentTab({ confirm = true }),
        },
        {
                key = "w",
                mods = "CMD",
                action = wezterm.action.CloseCurrentPane({ confirm = true }),
        },

other:

config.window_close_confirmation = "AlwaysPrompt"

Expected Behavior

expecting confirmation

Logs

No response

Anything else?

No response

eddiehazel avatar Sep 26 '24 16:09 eddiehazel