╭ changed ────────╮ │src/main_wasm.zig│ ╰─────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────────────╮ │52 // apply actions queued during input. the wasm path has no repo, so this is │ │53 // in-memory only; logged-in web persistence goes through the /ansi POST. │ │54 session.applyPending(); │ │55 + // a widget asked to move to another page, so hand it to the host instead of│ │56 + // rendering this one again. │ │57 + if (session.next_page) |route| { │ │58 + session.next_page = null; │ │59 + const url = try route.toUrl(&page_arena); │ │60 + _navigate(url.ptr, @intCast(url.len)); │ │61 + return; │ │62 + } │ │63 // bind the UI to the browser viewport (cols x rows) like the terminal: │ │64 // min == max height fills it exactly, and each Scroll clips to its │ │65 // viewport while handing its full content to a native-scrollable element. │ ╰────────────────────────────────────────────────────────────────────────────────────╯