diff options
| author | Aram Drevekenin <aram@poor.dev> | 2024-11-08 16:27:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-08 16:27:15 +0100 |
| commit | 452effab8fdc86486e110ea158d7287d13d0f6ea (patch) | |
| tree | dc488a0f8e48edf0b20537d8cec6af9f38c14afc /default-plugins/plugin-manager/src | |
| parent | docs(changelog): refix ctrl-j (diff) | |
| download | sl0ppij-452effab8fdc86486e110ea158d7287d13d0f6ea.tar.gz sl0ppij-452effab8fdc86486e110ea158d7287d13d0f6ea.tar.xz sl0ppij-452effab8fdc86486e110ea158d7287d13d0f6ea.zip | |
fix(plugins): cwd and usability fixes (#3749)
* fix(plugins): maintain cwd between plugin reloads
* fix(plugin-manager): default to loading plugins in the foreground and allow sending space in configuration
Diffstat (limited to 'default-plugins/plugin-manager/src')
| -rw-r--r-- | default-plugins/plugin-manager/src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/default-plugins/plugin-manager/src/main.rs b/default-plugins/plugin-manager/src/main.rs index 63b36a22..9d7be12b 100644 --- a/default-plugins/plugin-manager/src/main.rs +++ b/default-plugins/plugin-manager/src/main.rs @@ -49,7 +49,7 @@ impl Default for NewPluginScreen { entering_config_val: false, selected_config_index: None, request_ids: vec![], - load_in_background: true, + load_in_background: false, colors: Palette::default(), } } @@ -353,7 +353,7 @@ impl NewPluginScreen { let (mut should_render, mut should_close) = (false, false); match key.bare_key { - BareKey::Char(character) if key.has_no_modifiers() && character != ' ' => { + BareKey::Char(character) if key.has_no_modifiers() => { if let Some(field) = self.get_field_being_edited_mut() { field.push(character); } @@ -965,7 +965,7 @@ impl State { pub fn handle_main_screen_key(&mut self, key: KeyWithModifier) -> bool { let mut should_render = false; match key.bare_key { - BareKey::Char(character) if key.has_no_modifiers() && character != ' ' => { + BareKey::Char(character) if key.has_no_modifiers() => { self.search_term.push(character); self.update_search_term(); self.reset_selection(); |
