Lines Matching defs:history
54 private $history;
174 $this->history = $this->history_attrs = [];
184 * @param int $history
186 public function setHistory($history)
188 $this->max_history = $history;
236 $this->history = array_merge($this->history, array_slice(array_splice($this->screen, $this->y + 1), 0, $this->old_y));
242 if (count($this->history) == $this->max_history) {
243 array_shift($this->history);
409 * Also update the $this->screen and $this->history buffers
419 $this->history = array_merge($this->history, [array_shift($this->screen)]);
425 if (count($this->history) >= $this->max_history) {
426 array_shift($this->history);
536 for ($i = 0; $i < count($this->history); $i++) {
539 $scrollback .= $this->processCoordinate($last_attr, $cur_attr, isset($this->history[$i][$j]) ? $this->history[$i][$j] : '');