Closed erszcz closed 6 years ago
Does this always happen for you? When I recreate the bug it panics only when the buffer is completely empty. If there is a single character it does not panic.
I am going to look into this more.
Having checked again it's just w
that causes the crash and, indeed, only when the buffer is empty. What makes some sense, since it ought to jump to the end of the word, but there's not a single word in the buffer yet.
(BTW, I wasn't aware before that a
in general is not implemented.)
Just pushed a fix for this. Thanks for the report, and my apologies for the delay in responding.
Bug occurs at f35d016, rustc 1.16.0-nightly (c07a6ae77 2017-01-17), macOS 10.12.1. Interesting (or not?) that no other letter pressed after 'a' causes a similar crash. Possibly no other key, but I only tried with letters ;)