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
Describe the bug
When using this library with Bun, the terminal behaves strangely.
It shifts the "answer" below the prompt, and everything you type gets duplicated as shown on the screenshot:
It's not just a visual bug, after pressing ENTER the return value of the prompt is undefined.
Expected behavior
The terminal should not be "shifted", the typed letters shouldn't get duplicated and the return value should be string.
Additional Information
I am not sure if how important this bug is, depending on how much do you want to support Bun, if even. But considering how popular is Bun getting, and how great it is, I would think about it. Also I don't even know if it's a Bun issue or clack issue.
I tried downloading older versions of both Bun and clack, same result.
The text was updated successfully, but these errors were encountered:
Environment
@clack/prompts
,@clack/core
Describe the bug
When using this library with
Bun
, the terminal behaves strangely.It shifts the "answer" below the prompt, and everything you type gets duplicated as shown on the screenshot:
It's not just a visual bug, after pressing
ENTER
the return value of the prompt isundefined
.To Reproduce
Steps to reproduce the behavior:
bun
(https://bun.sh/)bun init
index.ts
:bun index.ts
Expected behavior
The terminal should not be "shifted", the typed letters shouldn't get duplicated and the return value should be string.
Additional Information
I am not sure if how important this bug is, depending on how much do you want to support Bun, if even. But considering how popular is Bun getting, and how great it is, I would think about it. Also I don't even know if it's a Bun issue or clack issue.
I tried downloading older versions of both Bun and clack, same result.
The text was updated successfully, but these errors were encountered: