nushell/crates/nu-explore/src/views
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
..
binary Overhaul explore config (#13075) 2024-06-06 08:46:43 -05:00
cursor Fix explore panic on empty lists (#13074) 2024-06-05 19:49:32 -07:00
record Limit drilling down inside explore (#13293) 2024-07-05 07:18:25 -05:00
colored_text_widget.rs explore refactoring+clarification (#12940) 2024-05-23 08:51:39 -05:00
mod.rs Overhaul explore config (#13075) 2024-06-06 08:46:43 -05:00
preview.rs Refactor explore cursor code (#12979) 2024-06-04 19:50:11 -07:00
try.rs Limit drilling down inside explore (#13293) 2024-07-05 07:18:25 -05:00
util.rs Overhaul explore config (#13075) 2024-06-06 08:46:43 -05:00