diff --git a/Console/DefaultCommand.php b/Console/DefaultCommand.php index 19063b1f..a334e047 100644 --- a/Console/DefaultCommand.php +++ b/Console/DefaultCommand.php @@ -25,19 +25,19 @@ class DefaultCommand extends Command $param = $dtl->get('commandList'); $last = ''; - $lists = ["Commands\t" . '注释']; + $lists = ["\vCommands\t" . '注释']; foreach ($param as $key => $val) { $split = explode(':', $key); if (empty($last) && isset($split[0])) { - $lists[] = "\033[32;40;1;1m" . $split[0] . " \033[0m\t"; + $lists[] = "\v\033[32;40;1;1m" . $split[0] . " \033[0m\t"; } else if (isset($split[0]) && $last != $split[0]) { - $lists[] = "\033[32;40;1;1m" . $split[0] . " \033[0m\t"; + $lists[] = "\v\033[32;40;1;1m" . $split[0] . " \033[0m\t"; } $last = $split[0] ?? ''; list($method, $ts) = $val; - $lists[] = "\033[32;40;1;1m " . $key . " \033[0m\t" . $method; + $lists[] = "\v\033[32;40;1;1m " . $key . " \033[0m\t" . $method; } return implode(PHP_EOL, $lists); }