Open pothos opened 2 years ago
Thank you for reporting the bug. It seems nsh crashes in UserInput::remove_until_word_start()
. I'll fix it when I have time.
panicked at 'byte index 18446744073709551615 is out of bounds of ` <(cat ho)`',
...
8: 0x55e00decd3cc - nsh::mainloop::UserInput::remove_until_word_start::hcfc8b7422d12c885
nsh::mainloop::Mainloop::handle_key_event::hc2d9e41aad7e6c31
at /home/kai/.cargo/registry/src/github.com-1ecc6299db9ec823/nsh-0.4.2/src/mainloop.rs:383:17
9: 0x55e00dec911f - nsh::mainloop::Mainloop::handle_event::h9da7cc13584b9546
at /home/kai/.cargo/registry/src/github.com-1ecc6299db9ec823/nsh-0.4.2/src/mainloop.rs:267:44
First of all, impressive work - great experience to use it so far!
I just hit a panic when I pressed Ctrl-W (I think) when editing a line from the front.