mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 08:16:13 +03:00
Workaround stage2 compile issue with issue link
This commit is contained in:
@ -381,7 +381,15 @@ pub fn create(alloc: Allocator, loop: libuv.Loop, config: *const Config) !*Windo
|
|||||||
try window.setSizeLimits(.{
|
try window.setSizeLimits(.{
|
||||||
.width = @floatToInt(u32, grid.cell_size.width * 10),
|
.width = @floatToInt(u32, grid.cell_size.width * 10),
|
||||||
.height = @floatToInt(u32, grid.cell_size.height * 4),
|
.height = @floatToInt(u32, grid.cell_size.height * 4),
|
||||||
}, .{ .width = null, .height = null });
|
}, switch (builtin.zig_backend) {
|
||||||
|
.stage1 => .{ .width = null, .height = null },
|
||||||
|
|
||||||
|
// https://github.com/hexops/mach/issues/581
|
||||||
|
else => .{
|
||||||
|
.width = 100000,
|
||||||
|
.height = 100000,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
// Create our pty
|
// Create our pty
|
||||||
var pty = try Pty.open(.{
|
var pty = try Pty.open(.{
|
||||||
|
Reference in New Issue
Block a user