refactor: tab rendering
This commit is contained in:
parent
8c6091c419
commit
a632305a6f
1 changed files with 2 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue