summaryrefslogtreecommitdiffstats
path: root/src/shell/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell/mod.rs')
-rw-r--r--src/shell/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell/mod.rs b/src/shell/mod.rs
index 7a16651..04cf385 100644
--- a/src/shell/mod.rs
+++ b/src/shell/mod.rs
@@ -487,7 +487,7 @@ impl Shell {
async fn default_scene(
&self,
focus: Focus,
- entry: Option<async_std::sync::MutexGuardArc<history::Entry>>,
+ entry: Option<crate::mutex::Guard<history::Entry>>,
) -> Scene {
match focus {
Focus::Readline | Focus::Scrolling(_) => Scene::Readline,
@@ -509,7 +509,7 @@ impl Shell {
async fn set_focus(
&mut self,
new_focus: Focus,
- entry: Option<async_std::sync::MutexGuardArc<history::Entry>>,
+ entry: Option<crate::mutex::Guard<history::Entry>>,
) {
self.focus = new_focus;
self.hide_readline = false;