get rid of stage2 workaround for now

This commit is contained in:
Mitchell Hashimoto
2022-10-15 10:43:39 -07:00
parent 56c9979db5
commit 846c9db0c3
2 changed files with 2 additions and 10 deletions

View File

@ -381,15 +381,7 @@ 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),
}, switch (builtin.zig_backend) { }, .{ .width = null, .height = null });
.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(.{

2
vendor/mach vendored

@ -1 +1 @@
Subproject commit 609bc8545019afea2cd72a2b01f3cb9ef9a622ca Subproject commit 393cd463284fb74ef631ccf4b3f866e7753f1219