macos: new tab implementation

This commit is contained in:
Mitchell Hashimoto
2023-02-19 09:04:51 -08:00
parent 94e678ed57
commit e92d90b8d5
3 changed files with 17 additions and 0 deletions

View File

@@ -219,6 +219,8 @@ fn newTab(self: *App, msg: Message.NewWindow) !void {
return;
}
// In embedded mode, it is up to the embedder to implement tabbing
// on their own.
if (comptime build_config.artifact != .exe) {
log.warn("tabbing is not supported in embedded mode", .{});
return;