Skip to content
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

Fix panic when entering unicode in command prompt #292

Merged
merged 1 commit into from
Jun 18, 2021

Conversation

CBenoit
Copy link
Member

@CBenoit CBenoit commented Jun 17, 2021

It was attempted to use String::insert and String::remove to insert
without taking care of unicodes.

Fixes #282

It was attempted to use `String::insert` and `String::remove` to insert
without taking care of unicodes.

Fixes #282
@archseer
Copy link
Member

Merging, but I'll take a second pass and implement something like https://github.com/wez/wezterm/blob/e0b62d07ca9bf8ce69a61e30a3c20e7abc48ce7e/termwiz/src/lineedit/mod.rs#L516-L611

@archseer archseer merged commit 42142cf into master Jun 18, 2021
@archseer archseer deleted the fix-command-prompt-panic branch June 18, 2021 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic when entering Unicode in command prompt
2 participants