╭ changed ────────╮ │src/main_wasm.zig│ ╰─────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────╮ │26 │ │27 fn tick() !void { │ │28 const root_ptr = if (root) |*root_value| root_value else return error.NotStarted;│ │29 - try ui.buildRoot(root_ptr, 80, 24); │ │29 + // TODO: make this fit the current size of the browser window │ │30 + try root_ptr.build(.{ │ │31 + .min_size = .{ .width = null, .height = null }, │ │32 + .max_size = .{ .width = 80, .height = 24 }, │ │33 + }, root_ptr.getFocus()); │ │34 try updateHtml(); │ │35 } │ │36 │ ╰─────────────────────────────────────────────────────────────────────────────────────────╯