nushell/crates/nu-explore/src/views
Reilly Wood 75d5807dcd
Fix explore panic on empty lists (#13074)
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.
2024-06-05 19:49:32 -07:00
..
binary Refactor explore cursor code (#12979) 2024-06-04 19:50:11 -07:00
cursor Fix explore panic on empty lists (#13074) 2024-06-05 19:49:32 -07:00
record Refactor explore cursor code (#12979) 2024-06-04 19:50:11 -07:00
colored_text_widget.rs explore refactoring+clarification (#12940) 2024-05-23 08:51:39 -05:00
interactive.rs Refactor explore cursor code (#12979) 2024-06-04 19:50:11 -07:00
mod.rs explore refactoring+clarification (#12940) 2024-05-23 08:51:39 -05:00
preview.rs Refactor explore cursor code (#12979) 2024-06-04 19:50:11 -07:00
util.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00