sindresorhus / cli-truncate

Truncate a string to a specific width in the terminal
MIT License
85 stars 14 forks source link

Add `space` option #10

Closed satyarohith closed 5 years ago

satyarohith commented 5 years ago

closes #7

sindresorhus commented 5 years ago

Can you fix the merge conflict?

satyarohith commented 5 years ago

@sindresorhus Updated!

sindresorhus commented 5 years ago

Regarding https://github.com/sindresorhus/cli-truncate/pull/10/files#r271130173, the main example code block already have too many examples. Add it in the options docs, like I commented.

sindresorhus commented 5 years ago

You also need to add it to https://github.com/sindresorhus/cli-truncate/blob/master/index.d.ts

sindresorhus commented 5 years ago

@ammarbinfaisal Can you help review?

satyarohith commented 5 years ago

@sindresorhus Updated!