Lines Matching refs:ansi
131 private $ansi;
178 $this->ansi = '';
211 if (strlen($this->ansi)) {
212 $this->ansi .= $source[$i];
217 case $this->ansi == "\x1B=":
218 $this->ansi = '';
220 case strlen($this->ansi) == 2 && $chr >= 64 && $chr <= 95 && $chr != ord('['):
221 case strlen($this->ansi) > 2 && $chr >= 64 && $chr <= 126:
226 $this->tokenization[] = $this->ansi;
228 // http://ascii-table.com/ansi-escape-sequences-vt-100.php
229 switch ($this->ansi) {
266 case preg_match('#\x1B\[(\d+)B#', $this->ansi, $match): // Move cursor down n lines
270 case preg_match('#\x1B\[(\d+);(\d+)H#', $this->ansi, $match): // Move cursor to screen location v,h
276 case preg_match('#\x1B\[(\d+)C#', $this->ansi, $match): // Move cursor right n lines
280 case preg_match('#\x1B\[(\d+)D#', $this->ansi, $match): // Move cursor left n lines
287 case preg_match('#\x1B\[(\d+);(\d+)r#', $this->ansi, $match): // Set top and bottom lines of a window
289 case preg_match('#\x1B\[(\d*(?:;\d*)*)m#', $this->ansi, $match): // character attributes
341 $this->ansi = '';
348 //user_error("{$this->ansi} is unsupported\r\n");
351 $this->ansi = '';
382 $this->ansi .= "\x1B";