diff options
Diffstat (limited to 'src/shell/mod.rs')
-rw-r--r-- | src/shell/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell/mod.rs b/src/shell/mod.rs index 88eb63e..68025f0 100644 --- a/src/shell/mod.rs +++ b/src/shell/mod.rs @@ -559,7 +559,7 @@ impl Shell { async fn default_scene( &self, focus: Focus, - entry: Option<crate::mutex::Guard<history::Entry>>, + entry: Option<tokio::sync::OwnedMutexGuard<history::Entry>>, ) -> Scene { match focus { Focus::Readline | Focus::Scrolling(_) => Scene::Readline, @@ -581,7 +581,7 @@ impl Shell { async fn set_focus( &mut self, new_focus: Focus, - entry: Option<crate::mutex::Guard<history::Entry>>, + entry: Option<tokio::sync::OwnedMutexGuard<history::Entry>>, ) { self.focus = new_focus; self.hide_readline = false; |