aboutsummaryrefslogtreecommitdiffstats
path: root/src/repl.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-07-12 02:40:06 -0400
committerJesse Luehrs <doy@tozt.net>2019-07-12 02:40:06 -0400
commitff8d2f2d6f0efc363d3681c3908923ed8a1daf4b (patch)
treedade576802e24ad8f19b807cc0c9affdbcfc332b /src/repl.rs
parent55569f3db98e4214537cbad03d0024ba12aa8f73 (diff)
downloadnbsh-old-ff8d2f2d6f0efc363d3681c3908923ed8a1daf4b.tar.gz
nbsh-old-ff8d2f2d6f0efc363d3681c3908923ed8a1daf4b.zip
adjust the readline api a bit
Diffstat (limited to 'src/repl.rs')
-rw-r--r--src/repl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl.rs b/src/repl.rs
index c370fcf..7f4c10d 100644
--- a/src/repl.rs
+++ b/src/repl.rs
@@ -51,7 +51,7 @@ pub fn repl() {
}
fn read() -> impl futures::future::Future<Item = String, Error = Error> {
- crate::readline::readline("$ ", true)
+ crate::readline::readline()
.into_future()
.flatten()
.context(Read)