nushell/crates/nu-explore/src
Piotr Kufel 983014cc40
Clean up key event handling (#13574)
# Description
Cleanups:
 - Add "key_press" to event reading function names to match reality
- Move the relevant comment about why only key press events are
interesting one layer up
 - Remove code duplication in handle_events
- Make `try_next` try harder (instead of bail on a boring event); I
think that was the original intention
- Remove recursion from `next` (I think that's clearer? but maybe just
what I'm used to)

# User-Facing Changes
None

# Tests + Formatting
This cleans up existing code, no new test coverage.
2024-08-09 18:07:50 -07:00
..
commands Update config directly at assignment (#13332) 2024-07-11 06:09:33 -07:00
nu_common Add and use new Signals struct (#13314) 2024-07-07 22:29:01 +00:00
pager Clean up key event handling (#13574) 2024-08-09 18:07:50 -07:00
registry explore: pass config to views at creation time (#13312) 2024-07-07 08:09:59 -05:00
views explore: pass config to views at creation time (#13312) 2024-07-07 08:09:59 -05:00
default_context.rs Move explore command out of nu-command deps (#9421) 2023-06-14 01:18:36 +02:00
explore.rs Update config directly at assignment (#13332) 2024-07-11 06:09:33 -07:00
lib.rs Add top-level crate documentation/READMEs (#12907) 2024-07-14 10:10:41 +02:00