diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2021-07-21 16:57:33 +0300 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2021-07-21 17:20:46 +0300 |
commit | 3c71f8df2a2540cb5585eba2b09b0d44aaf3e111 (patch) | |
tree | 9a05cc8d8a0cf0f1439ce2aa9249073dcce1acde | |
parent | 1e8b36e4d2b5bc1531363df0d05ce8b905456845 (diff) |
cleaner Formater22.0.0
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r-- | lib/Command/Index.php | 16 | ||||
-rw-r--r-- | lib/Command/Live.php | 10 |
2 files changed, 13 insertions, 13 deletions
diff --git a/lib/Command/Index.php b/lib/Command/Index.php index d0f7132..73211f2 100644 --- a/lib/Command/Index.php +++ b/lib/Command/Index.php @@ -108,14 +108,14 @@ class Index extends ACommandBase { const PANEL_ERRORS_LINE_FOOTER = '└──'; const PANEL_COMMANDS_ROOT = 'root'; - const PANEL_COMMANDS_ROOT_LINE = '## <char>q</char>:quit ## <char>p</char>:pause '; + const PANEL_COMMANDS_ROOT_LINE = '## q:quit ## p:pause '; const PANEL_COMMANDS_PAUSED = 'paused'; - const PANEL_COMMANDS_PAUSED_LINE = '## <char>q</char>:quit ## <char>u</char>:unpause ## <char>n</char>:next step'; + const PANEL_COMMANDS_PAUSED_LINE = '## q:quit ## u:unpause ## n:next step'; const PANEL_COMMANDS_DONE = 'done'; - const PANEL_COMMANDS_DONE_LINE = '## <char>q</char>:quit'; + const PANEL_COMMANDS_DONE_LINE = '## q:quit'; const PANEL_COMMANDS_NAVIGATION = 'navigation'; - const PANEL_COMMANDS_ERRORS_LINE = '## <char>f</char>:first error ## <char>h</char>/<char>j</char>:prec/next error ## <char>d</char>:delete error ## <char>l</char>:last error'; - const PANEL_COMMANDS_RESULTS_LINE = '## <char>x</char>:first result ## <char>c</char>/<char>v</char>:prec/next result ## <char>b</char>:last result'; + const PANEL_COMMANDS_ERRORS_LINE = '## f:first error ## h/j:prec/next error ## d:delete error ## l:last error'; + const PANEL_COMMANDS_RESULTS_LINE = '## x:first result ## c/v:prec/next result ## b:last result'; /** @var IUserManager */ private $userManager; @@ -230,9 +230,9 @@ class Index extends ACommandBase { $this->terminal = new Terminal(); - $outputStyle = new OutputFormatterStyle('white', 'black', ['bold']); - $output->getFormatter() - ->setStyle('char', $outputStyle); +// $outputStyle = new OutputFormatterStyle('white', 'black', ['bold']); +// $output->getFormatter() +// ->setStyle('char', $outputStyle); $this->runner = new Runner($this->runningService, 'commandIndex', ['nextStep' => 'n']); $this->runner->onKeyPress([$this, 'onKeyPressed']); diff --git a/lib/Command/Live.php b/lib/Command/Live.php index ee63ac0..79684ca 100644 --- a/lib/Command/Live.php +++ b/lib/Command/Live.php @@ -104,14 +104,14 @@ class Live extends ACommandBase { const PANEL_ERRORS_LINE_FOOTER = '└──'; const PANEL_COMMANDS_ROOT = 'root'; - const PANEL_COMMANDS_ROOT_LINE = '## <char>q</char>:quit ## <char>p</char>:pause '; + const PANEL_COMMANDS_ROOT_LINE = '## q:quit ## p:pause '; const PANEL_COMMANDS_PAUSED = 'paused'; - const PANEL_COMMANDS_PAUSED_LINE = '## <char>q</char>:quit ## <char>u</char>:unpause ## <char>n</char>:next step'; + const PANEL_COMMANDS_PAUSED_LINE = '## q:quit ## u:unpause ## n:next step'; const PANEL_COMMANDS_DONE = 'done'; - const PANEL_COMMANDS_DONE_LINE = '## <char>q</char>:quit'; + const PANEL_COMMANDS_DONE_LINE = '## q:quit'; const PANEL_COMMANDS_NAVIGATION = 'navigation'; - const PANEL_COMMANDS_ERRORS_LINE = '## <char>f</char>:first error ## <char>h</char>/<char>j</char>:prec/next error ## <char>d</char>:delete error ## <char>l</char>:last error'; - const PANEL_COMMANDS_RESULTS_LINE = '## <char>x</char>:first result ## <char>c</char>/<char>v</char>:prec/next result ## <char>b</char>:last result'; + const PANEL_COMMANDS_ERRORS_LINE = '## f:first error ## h/j:prec/next error ## d:delete error ## l:last error'; + const PANEL_COMMANDS_RESULTS_LINE = '## x:first result ## c/v:prec/next result ## b:last result'; /** @var IUserManager */ |