fix(gtk): confirm tab close on close_tab action (#5166)

#4033 introduced a `ctrl-shift-w` binding to close a tab, but it doesn't
respect the `confirm-close-surface` option. Now `ctrl-shift-w` will ask
for confirmation exactly the same as clicking the close button with the
mouse.
This commit is contained in:
Mitchell Hashimoto
2025-01-20 11:24:01 -08:00
committed by GitHub

View File

@ -579,7 +579,7 @@ fn closeTab(_: *App, target: apprt.Target) !void {
return; return;
}; };
tab.window.closeTab(tab); tab.closeWithConfirmation();
}, },
} }
} }