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
May be related to Issue #912
I noticed that after running a prompt with an asynchronous validate function, a following prompt will miss a line of input and require input twice due to the first line being ignored.
I wrote a simple script with this behavior and attached it below. The first two prompts will run fine but the final one (must type "done" into it) will miss the first line of input. Pressing an arrow/any key after pressing enter will cause the prompt to re-render and wait for a proper answer again.
May be related to Issue #912
I noticed that after running a prompt with an asynchronous validate function, a following prompt will miss a line of input and require input twice due to the first line being ignored.
I wrote a simple script with this behavior and attached it below. The first two prompts will run fine but the final one (must type "done" into it) will miss the first line of input. Pressing an arrow/any key after pressing enter will cause the prompt to re-render and wait for a proper answer again.
Device details:
OS: Windows 11
Terminal: PowerShell
Node: 16.13.1
Inquirer: ^8.2.0 (current latest)
Result as a screenshot
The text was updated successfully, but these errors were encountered: