refactor: tab rendering

This commit is contained in:
CJ van den Berg 2026-01-15 20:12:17 +01:00
parent 8c6091c419
commit a632305a6f
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -159,7 +159,8 @@ pub const TabBar = struct {
}); });
self.plane.fill(" "); self.plane.fill(" ");
self.plane.home(); self.plane.home();
return self.widget_list_widget.render(theme); for (self.tabs) |*tab| _ = tab.widget.render(theme);
return false;
} }
pub fn receive(self: *Self, _: tp.pid_ref, m: tp.message) error{Exit}!bool { pub fn receive(self: *Self, _: tp.pid_ref, m: tp.message) error{Exit}!bool {