heapwolf / prompt-sync

a synchronous prompt for node.js
MIT License
211 stars 42 forks source link

UTF8 emoji space issue #36

Open sustained opened 5 years ago

sustained commented 5 years ago

Try something like this:

prompt('A wild 🐢 appears.');

Output:

A wild 🐢appears.

Note the spacing. I might look into fixing this bug but that depends on if this library is dead or not. For instance, there's a few open PRs that haven't been answered in months.

Thanks!

davidmarkclements commented 5 years ago

@sustained - still alive, PR's processed. This emoji issue might be more to do with the terminal being used than this module though