prompts
prompts copied to clipboard
Not printing text correctly on windows
Describe the bug
When i do a prompt request (i've tested the types select and text, happens on both) it displays the text "String.prototype.matchAll":
To Reproduce
Just create a request with this code:
const response = await prompts({
type: 'text',
name: 'port',
message: 'Server Port?',
initial: 514
});
Expected behavior
It's supposed to show the prompt without the "String.prototype.matchAll".
System
- OS: Windows 10 Pro
- Terminal: Powershell and CMD
- Node version: v10.13.0
Additional context
I'm building a exe with pkg on macOs and running it on windows.