Open lefuturiste opened 2 years ago
Hi ! Thanks you for this library but there is an issue with emojis in general 😄📚.
<?php require_once __DIR__ . "/../vendor/autoload.php"; $table = new LucidFrame\Console\ConsoleTable(); $table = $table ->addHeader("A") ->addHeader("B") ->addRow() ->addColumn("📚") ->addColumn("Hello") ->addRow() ->addColumn("X") ->addColumn("Foo Bared") ->display();
Shell: fish 3.3.1 PHP 8.0.12 (cli) phplucidframe/console-table: ^1.2
I have the same problem :)
Isn't this depending on the used font? Perhaps find a monospace font where smileys also occupy just 1 space
Hi ! Thanks you for this library but there is an issue with emojis in general 😄📚.
Code that breaks
Expected behavior:
Actual behavior:
Environment
Shell: fish 3.3.1 PHP 8.0.12 (cli) phplucidframe/console-table: ^1.2