summaryrefslogtreecommitdiffstats
path: root/src/shell/readline.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-02-28 13:51:18 -0500
committerJesse Luehrs <doy@tozt.net>2022-02-28 13:51:18 -0500
commitdb84eaac5ceaa0105422c3185e08a7637e8d97e0 (patch)
treeba5d33421da410a478194b2245b89137fd7ba005 /src/shell/readline.rs
parentc7a9ff6f42f8bab6f3cddc894a9d16812ce4095d (diff)
downloadnbsh-db84eaac5ceaa0105422c3185e08a7637e8d97e0.tar.gz
nbsh-db84eaac5ceaa0105422c3185e08a7637e8d97e0.zip
convert to std::sync::Mutex and remove a lot of unnecessary async
Diffstat (limited to 'src/shell/readline.rs')
-rw-r--r--src/shell/readline.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell/readline.rs b/src/shell/readline.rs
index 463a7f0..49a3ab6 100644
--- a/src/shell/readline.rs
+++ b/src/shell/readline.rs
@@ -19,7 +19,7 @@ impl Readline {
}
}
- pub async fn render(
+ pub fn render(
&self,
out: &mut impl textmode::Textmode,
env: &Env,
@@ -83,7 +83,7 @@ impl Readline {
Ok(())
}
- pub async fn resize(&mut self, size: (u16, u16)) {
+ pub fn resize(&mut self, size: (u16, u16)) {
self.size = size;
}