mirror of
https://github.com/nushell/nushell.git
synced 2025-08-03 06:10:10 +02:00
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.