mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
apprt/gtk: Add Close Window action to context menu
This action already exists in the main menu. The Close Window action allows for better workflow and consistency. Fixes #4198
This commit is contained in:
@ -1745,6 +1745,7 @@ fn initContextMenu(self: *App) void {
|
||||
c.g_menu_append_section(menu, null, @ptrCast(@alignCast(section)));
|
||||
c.g_menu_append(section, "Split Right", "win.split_right");
|
||||
c.g_menu_append(section, "Split Down", "win.split_down");
|
||||
c.g_menu_append(section, "Close Window", "win.close");
|
||||
}
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user