You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, this library is amazing, it can do a whole load of stuff!
However, today I discovered one of it's weaknesses...
When I try to get something from an API and return it via an async suggest, it duplicated the output with every keystroke. See below:
? Test »
? Test ... t
? Test » te
? Test ... tes
? Test » test
? Test » testi
? Test ... testin
? Test » testing
> d
e
f
It doesn't even need to be an API... If suggest isn't immediate (be it a timeout, an API call, etc), it duplicates the output, even if I return the EXACT same array.
Happens on PowerShell and the newer Terminal.
OS: Win 11
The text was updated successfully, but these errors were encountered:
I had a similar problem when I chose style emoji, and used 2 separate await prompts(). The first and second prompts() used style: 'emoji' with type: "text". I saw many duplicate emojis appear until I removed the style` property.
Hi!
First of all, this library is amazing, it can do a whole load of stuff!
However, today I discovered one of it's weaknesses...
When I try to get something from an API and return it via an async suggest, it duplicated the output with every keystroke. See below:
It doesn't even need to be an API... If suggest isn't immediate (be it a timeout, an API call, etc), it duplicates the output, even if I return the EXACT same array.
Happens on PowerShell and the newer Terminal.
OS: Win 11
The text was updated successfully, but these errors were encountered: