Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle panic on move within empty picker (#1786)
When the picker results output is empty, movement actions result in a panic: ``` thread 'main' panicked at 'attempt to calculate the remainder with a divisor of zero', helix-term/src/ui/picker.rs:420:31 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ``` This could be a no-op instead when the matches length is zero.
- Loading branch information