Let Page.navigate do actually navigation

Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
Francis Bouvier
2024-04-19 17:13:32 +02:00
parent 1b1b7cdfb0
commit 4a31dd8aa3
3 changed files with 106 additions and 21 deletions

View File

@@ -76,9 +76,12 @@ pub const Cmd = struct {
}
@panic(@errorName(err));
};
std.log.debug("res {s}", .{res});
sendAsync(self, res) catch unreachable;
// send result
if (!std.mem.eql(u8, res, "")) {
std.log.debug("res {s}", .{res});
sendAsync(self, res) catch unreachable;
}
if (pos == null) break;