diff --git a/src/InternalScreen.zig b/src/InternalScreen.zig index 8ea7007..bb8b8e9 100644 --- a/src/InternalScreen.zig +++ b/src/InternalScreen.zig @@ -96,7 +96,7 @@ pub fn writeCell( self.buf[i].uri.appendSlice(cell.link.uri) catch { log.warn("couldn't write uri", .{}); }; - self.buf[i].uri.clearRetainingCapacity(); + self.buf[i].uri_id.clearRetainingCapacity(); self.buf[i].uri_id.appendSlice(cell.link.params) catch { log.warn("couldn't write uri_id", .{}); };