summaryrefslogtreecommitdiffstats
path: root/src/shell/mod.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-02-27 16:36:08 -0500
committerJesse Luehrs <doy@tozt.net>2022-02-27 16:36:08 -0500
commit25c8b77ba569468cddfae45f069f1c58170da475 (patch)
tree7d2e36afdac77b84dc0c7a6e47a8968ef9a39092 /src/shell/mod.rs
parent68691cedbfc82f7c2a57f6aaa0f2552f8ad1f8ba (diff)
downloadnbsh-25c8b77ba569468cddfae45f069f1c58170da475.tar.gz
nbsh-25c8b77ba569468cddfae45f069f1c58170da475.zip
these aliases are not really saving much of anything
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 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;