nushell/crates/nu-explore/src/views
Reilly Wood 83081f9852
explore: pass config to views at creation time (#13312)
cc: @zhiburt

This is an internal refactoring for `explore`.

Previously, views inside `explore` were created with default/incorrect
configuration and then the correct configuration was passed to them
using a function called `setup()`. I believe this was because
configuration was dynamic and could change while `explore` was running.

After https://github.com/nushell/nushell/pull/10259, configuration can
no longer be changed on the fly. So we can clean this up by removing
`setup()` and passing configuration to views when they are created.
2024-07-07 08:09:59 -05:00
..
binary explore: pass config to views at creation time (#13312) 2024-07-07 08:09:59 -05:00
cursor Fix explore panic on empty lists (#13074) 2024-06-05 19:49:32 -07:00
record explore: pass config to views at creation time (#13312) 2024-07-07 08:09:59 -05:00
colored_text_widget.rs explore refactoring+clarification (#12940) 2024-05-23 08:51:39 -05:00
mod.rs explore: pass config to views at creation time (#13312) 2024-07-07 08:09:59 -05:00
preview.rs Refactor explore cursor code (#12979) 2024-06-04 19:50:11 -07:00
try.rs explore: pass config to views at creation time (#13312) 2024-07-07 08:09:59 -05:00
util.rs Overhaul explore config (#13075) 2024-06-06 08:46:43 -05:00