mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-17 07:16:12 +00:00
chore: rename config value to maximize and move startup logic to proper location
This commit is contained in:
@@ -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| {
|
||||
|
Reference in New Issue
Block a user