Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/fulltextsearch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2021-07-21 16:57:33 +0300
committerMaxence Lange <maxence@artificial-owl.com>2021-07-21 16:57:33 +0300
commit288fdea38fe45eb34d5eed14e096181d057dabd9 (patch)
tree5d820982580ca4f2e14780c50b9f22848b0a9195
parent4294dd018209da1d7acc5e3d0483e5dcaeef7c54 (diff)
cleaner Formater21.0.2
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r--lib/Command/Index.php16
-rw-r--r--lib/Command/Live.php10
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 */