Total Complexity | 13 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Coverage | 90.48% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
17 | class Terminal extends AbstractXTermTerminal implements StaticTerminalInterface |
||
18 | { |
||
19 | |||
20 | /** {@inheritdoc} */ |
||
21 | 1 | public static function setTitle(string $title): string |
|
22 | { |
||
23 | return |
||
24 | 1 | static::isXterm() ? "\033]0;{$title}\007" : ''; |
|
25 | } |
||
26 | |||
27 | /** {@inheritdoc} */ |
||
28 | 6 | public static function width(bool $recheck = false): int |
|
35 | } |
||
36 | |||
37 | /** {@inheritdoc} */ |
||
38 | 6 | public static function height(bool $recheck = false): int |
|
45 | } |
||
46 | |||
47 | /** {@inheritdoc} */ |
||
48 | 6 | public static function colorSupport($stream = null): int |
|
66 |