diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-07-12 02:40:06 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-07-12 02:40:06 -0400 |
commit | ff8d2f2d6f0efc363d3681c3908923ed8a1daf4b (patch) | |
tree | dade576802e24ad8f19b807cc0c9affdbcfc332b /src/repl.rs | |
parent | 55569f3db98e4214537cbad03d0024ba12aa8f73 (diff) | |
download | nbsh-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.rs | 2 |
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) |