What happened?
The main thread panicked while running correction for "sud"
The command and output
enterss@stuart-kub-02:(削除) $ sud
Command 'sud' not found, but there are 15 similar ones.
enterss@stuart-kub-02: (削除ここまで)$ f
sudo
Execute suggestion?: [Enter] [Ctrl+C]
thread 'main' panicked at /home/enterss/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pay-respects-0.5.14/src/shell.rs:79:76:
index out of bounds: the len is 0 but the index is 0
stack backtrace:
0: 0x610b21c4caac -
1: 0x610b21bee9d3 -
2: 0x610b21c1cde2 -
3: 0x610b21c52b92 -
4: 0x610b21c529fb -
5: 0x610b21c5315c -
6: 0x610b21c52c68 -
7: 0x610b21c52bc9 -
8: 0x610b21c52bbc -
9: 0x610b21b9de5f -
10: 0x610b21b9de31 -
11: 0x610b21bca52e -
12: 0x610b21bca7c5 -
13: 0x610b21be30f9 -
14: 0x610b21ba5fb3 -
15: 0x610b21be9f07 -
16: 0x75b9c0e2a1ca - __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
17: 0x75b9c0e2a28b - __libc_start_main_impl
at ./csu/../csu/libc-start.c:360:3
18: 0x610b21ba3a45 -
19: 0x0 -
enterss@stuart-kub-02:~$
Build information
enterss@stuart-kub-02:~$ pay-respects --version
version: 0.5.14
compile features:
- runtime-rules
- request-ai
- libcurl
No similar issue
### What happened?
The main thread panicked while running correction for "sud"
### The command and output
enterss@stuart-kub-02:~$ sud
Command 'sud' not found, but there are 15 similar ones.
enterss@stuart-kub-02:~$ f
sudo
Execute suggestion?: [Enter] [Ctrl+C]
thread 'main' panicked at /home/enterss/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pay-respects-0.5.14/src/shell.rs:79:76:
index out of bounds: the len is 0 but the index is 0
stack backtrace:
0: 0x610b21c4caac - <unknown>
1: 0x610b21bee9d3 - <unknown>
2: 0x610b21c1cde2 - <unknown>
3: 0x610b21c52b92 - <unknown>
4: 0x610b21c529fb - <unknown>
5: 0x610b21c5315c - <unknown>
6: 0x610b21c52c68 - <unknown>
7: 0x610b21c52bc9 - <unknown>
8: 0x610b21c52bbc - <unknown>
9: 0x610b21b9de5f - <unknown>
10: 0x610b21b9de31 - <unknown>
11: 0x610b21bca52e - <unknown>
12: 0x610b21bca7c5 - <unknown>
13: 0x610b21be30f9 - <unknown>
14: 0x610b21ba5fb3 - <unknown>
15: 0x610b21be9f07 - <unknown>
16: 0x75b9c0e2a1ca - __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
17: 0x75b9c0e2a28b - __libc_start_main_impl
at ./csu/../csu/libc-start.c:360:3
18: 0x610b21ba3a45 - <unknown>
19: 0x0 - <unknown>
enterss@stuart-kub-02:~$
### Build information
enterss@stuart-kub-02:~$ pay-respects --version
version: 0.5.14
compile features:
- runtime-rules
- request-ai
- libcurl
### No similar issue
- [x] I have searched the issue list and there is no similar issue found