nushell/crates/nu-explore/src
Reilly Wood 8707d14f95
Limit drilling down inside explore (#13293)
This PR fixes an issue with `explore` where you can "drill down" into
the same value forever. For example:

1. Run `ls | explore`
2. Press Enter to enter cursor mode
3. Press Enter again to open the selected string in a new layer
4. Press Enter again to open that string in a new layer
5. Press Enter again to open that string in a new layer
6. Repeat and eventually you have a bajillion layers open with the same
string

IMO it only makes sense to "drill down" into lists and records.

In a separate commit I also did a little refactoring, cleaning up naming
and comments.
2024-07-05 07:18:25 -05:00
..
commands Limit drilling down inside explore (#13293) 2024-07-05 07:18:25 -05:00
nu_common Overhaul explore config (#13075) 2024-06-06 08:46:43 -05:00
pager Overhaul explore config (#13075) 2024-06-06 08:46:43 -05:00
registry explore: adopt anyhow, support CustomValue, remove help system (#12692) 2024-05-01 17:34:37 -05:00
views Limit drilling down inside explore (#13293) 2024-07-05 07:18:25 -05:00
default_context.rs Move explore command out of nu-command deps (#9421) 2023-06-14 01:18:36 +02:00
explore.rs Overhaul explore config (#13075) 2024-06-06 08:46:43 -05:00
lib.rs Limit drilling down inside explore (#13293) 2024-07-05 07:18:25 -05:00