mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03:00
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:
@ -579,7 +579,7 @@ fn closeTab(_: *App, target: apprt.Target) !void {
|
|||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
tab.window.closeTab(tab);
|
tab.closeWithConfirmation();
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user