chore: rename config value to maximize and move startup logic to proper location

This commit is contained in:
Adam Wolf
2025-01-10 23:24:00 -06:00
parent 8102fddceb
commit c9636598fc
3 changed files with 8 additions and 17 deletions

View File

@@ -646,16 +646,6 @@ pub fn init(
// an initial size shouldn't stop our terminal from working.
log.warn("unable to set initial window size: {s}", .{err});
};
if (config.@"window-maximize") {
rt_app.performAction(
.{ .surface = self },
.toggle_maximize,
{},
) catch |err| {
log.warn("unable to maximize window: {s}", .{err});
};
}
}
if (config.title) |title| {