mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 00:13:21 +01:00
75d5807dcd
This fixes up a panic I accidentally introduced when refactoring the cursor code in `explore`: https://github.com/nushell/nushell/pull/12979 Under certain circumstances (running `:nu []`, opening `:try` with the hidden `try.reactive` setting enabled), `explore` would panic when handling an empty list. To fix this for now I've removed the validation I added to the Cursor constructor in that PR. |
||
---|---|---|
.. | ||
commands | ||
nu_common | ||
pager | ||
registry | ||
views | ||
default_context.rs | ||
explore.rs | ||
lib.rs |