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

[Bug]: shrs can't work with country specific letters #499

Open
commitcompanion opened this issue Nov 15, 2024 · 0 comments
Open

[Bug]: shrs can't work with country specific letters #499

commitcompanion opened this issue Nov 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@commitcompanion
Copy link

Hello!

What went wrong?

When running shrs and accedently pressing a country specific letter like "Ø" , "ä/Ä" or "À" the program, in this case shrs example shell crashes.
Error message:

> ❯ shrs1
> 
>         __
>    ___ / /  _______
>   (_-</ _ \/ __(_-<
>  /___/_//_/_/ /___/
> a rusty POSIX shell | build v11152024.1752-dev
>  developer / > thread 'main' panicked at crates/shrs_utils/src/styled_buf.rs:101:20:                                                                                      posix 
>                                                                                     index out of bounds: the len is 1 but the index is 1
>                                                                                                                                         note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
> 
> 

Thanks!

@commitcompanion commitcompanion added the bug Something isn't working label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant