gajus / table

Formats data into a string table.
Other
894 stars 77 forks source link

Chinese has been cutted #175

Closed vk-bytedance closed 3 years ago

vk-bytedance commented 3 years ago

Problem 1: Chinese words has been cutted. here is my code:

const { table } = require('table'); const data = table([['哈哈哈哈', '呵呵呵呵']]);

resule is screenshot-20210511-182234

The data has four words each item, why it just show two words.

Problem 2: The table style is not right. english version image chinese version chinese has been cutted and table style is not right image

nam-hle commented 3 years ago

@vk-bytedance Can you confirm the bug is fixed? 😍

vk-bytedance commented 3 years ago

@vk-bytedance Can you confirm the bug is fixed? 😍

I can't install table@6.7.1. The command 'npm view table' tell me that the latest version is 6.7.0.

nam-hle commented 3 years ago

How about npm install table@6.7.1

vk-bytedance commented 3 years ago

image

nam-hle commented 3 years ago

No clues. It works fine for me.

vk-bytedance commented 3 years ago

No clues. It works fine for me.

Problem resolved! Thank you!

vk-bytedance commented 3 years ago

Bug fixed.