-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic when entering Unicode in command prompt #282
Labels
C-bug
Category: This is a bug
Comments
Okay, this is a dumb one, String::insert indexes by byte position. helix/helix-term/src/ui/prompt.rs Line 56 in 14db2cc
Need to use |
CBenoit
added a commit
that referenced
this issue
Jun 17, 2021
It was attempted to use `String::insert` and `String::remove` to insert without taking care of unicodes. Fixes #282
CBenoit
added a commit
that referenced
this issue
Jun 17, 2021
It was attempted to use `String::insert` and `String::remove` to insert without taking care of unicodes. Fixes #282
archseer
pushed a commit
that referenced
this issue
Jun 18, 2021
It was attempted to use `String::insert` and `String::remove` to insert without taking care of unicodes. Fixes #282
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! Another Unicode panic 👋
Reproduction steps
Type
:éé
Environment
Output
The text was updated successfully, but these errors were encountered: