add terminal size caching

This commit is contained in:
crazywhalecc
2022-05-13 17:18:26 +08:00
parent c14e6b75b8
commit bcc6a9b4e4
2 changed files with 14 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ $data = [
'php_version_id' => PHP_VERSION_ID,
'info' => '并且支持中文!!',
'path2' => __DIR__,
'long' => '我可以' . str_repeat('很长', 50),
'中文级别的key' => '我可以' . str_repeat('很长', 50),
];
(new \ZM\Logger\TablePrinter($data))