···7171 // fill the remaining space of the parent. Child windows do not store a
7272 // reference to their parent: this is true immediate mode. Do not store
7373 // windows, always create new windows each render cycle
7474- const child = win.initChild(win.width / 2 - msg.len / 2, win.height / 2, .expand, .expand);
7474+ const child = win.child(
7575+ .{ .x_off = win.width / 2 - msg.len / 2, .y_off = win.height / 2 },
7676+ );
7577 // Loop through the message and print the cells to the screen
7678 for (msg, 0..) |_, i| {
7779 const cell: Cell = .{