-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
Description
What version of Bun is running?
1.3.9+cf6cdbbba
What platform is your computer?
Linux 6.18.9-zen1-2-zen x86_64 unknowng
What steps can reproduce the bug?
call prompt():
const input = prompt();in the shell, input mutli-byte character, for example, 笨蛋.
then, press backspace twice.
only '蛋' will be deleted.
after this, try continue pressing backspace.
you won't be able to delete the 笨 character.
What is the expected behavior?
call prompt():
const input = prompt();in the shell, input mutli-byte character, for example, 笨蛋.
then, press backspace twice.
both characters should be deleted.
What do you see instead?
pressing once moves the cursor to the center of the delete character, twice delete the character.
Additional information
No response
Reactions are currently unavailable