/** * @param Tab $tab */ private function createTabWindow(Tab $tab) { $panel = new ScrollingList($this->rows - 1, $this->cols - 1, 1, 1); $panel->border(); $tab->setPanel($panel); $this->tabs[] = $tab; }
public function draw() { $this->panel->refresh(); }