diff options
| author | Aram Drevekenin <aram@poor.dev> | 2024-07-29 11:40:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-29 11:40:01 +0200 |
| commit | 355463383a18fb9e54afd62d718bed4c085a766f (patch) | |
| tree | 7cf187d4e122133711b45aa249a7e19dc59e1f4f /default-plugins/strider | |
| parent | docs(changelog): more plugin apis (diff) | |
| download | sl0ppij-355463383a18fb9e54afd62d718bed4c085a766f.tar.gz sl0ppij-355463383a18fb9e54afd62d718bed4c085a766f.tar.xz sl0ppij-355463383a18fb9e54afd62d718bed4c085a766f.zip | |
feat(plugins): allow opening command panes in the background (hidden) (#3530)
* start background pane
* open command and edit panes in the background
* some cleanups
* style(fmt): rustfmt
* more cleanups
Diffstat (limited to 'default-plugins/strider')
| -rw-r--r-- | default-plugins/strider/src/state.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/default-plugins/strider/src/state.rs b/default-plugins/strider/src/state.rs index 4b81c7f2..87f70d4b 100644 --- a/default-plugins/strider/src/state.rs +++ b/default-plugins/strider/src/state.rs @@ -152,9 +152,10 @@ impl State { if let Some(parent_folder) = self.file_list_view.path.parent() { open_file( FileToOpen::new(&self.file_list_view.path).with_cwd(parent_folder.into()), + BTreeMap::new(), ); } else { - open_file(FileToOpen::new(&self.file_list_view.path)); + open_file(FileToOpen::new(&self.file_list_view.path), BTreeMap::new()); } } if self.close_on_selection { |
