mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-08 06:13:20 +00:00
close-tab: style-fixes
This commit is contained in:
@@ -352,12 +352,8 @@ pub const Tab = extern struct {
|
||||
// Delegate to our parent to handle this, since this will emit
|
||||
// a close-page signal that the parent can intercept.
|
||||
switch (mode) {
|
||||
.this => {
|
||||
tab_view.closePage(page);
|
||||
},
|
||||
.other => {
|
||||
log.warn("close-tab:other is not implemented", .{});
|
||||
},
|
||||
.this => tab_view.closePage(page),
|
||||
.other => log.warn("close-tab:other is not implemented", .{}),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user