cli-table icon indicating copy to clipboard operation
cli-table copied to clipboard

emoji gives wrong padding

Open arve0 opened this issue 2 years ago • 0 comments

I expected emojies to work, but ✅ for example gets extra padding:

┌─────────────┬───┬──────────────┐
│ First value │ ✅ │ Second value │
└─────────────┴───┴──────────────┘

Same result in Mac Terminal, VSCode terminal and iTerm.

Example code:

var Table = require('cli-table');

var table = new Table()
table.push(['First value', '✅', 'Second value'])
console.log(table.toString());

arve0 avatar Mar 23 '22 12:03 arve0