nushell/crates/nu-explore/src
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
..
commands explore: consolidate padding config, handle ByteStream, tweak naming+comments (#12915) 2024-05-20 22:03:21 +02:00
nu_common Make LS_COLORS functionality faster in explore, especially on Windows (#12984) 2024-06-05 07:43:12 +08:00
pager explore: adopt anyhow, support CustomValue, remove help system (#12692) 2024-05-01 17:34:37 -05:00
registry explore: adopt anyhow, support CustomValue, remove help system (#12692) 2024-05-01 17:34:37 -05:00
views Fix explore panic on empty lists (#13074) 2024-06-05 19:49:32 -07:00
default_context.rs Move explore command out of nu-command deps (#9421) 2023-06-14 01:18:36 +02:00
explore.rs Add sys subcommands (#12747) 2024-05-06 23:20:27 +00:00
lib.rs explore: consolidate padding config, handle ByteStream, tweak naming+comments (#12915) 2024-05-20 22:03:21 +02:00