Commit 662bb544 authored by Jeremy Soller's avatar Jeremy Soller

Merge branch 'update-deps' into 'master'

Update the dependencies

See merge request !26
parents afba9c5d 1ff6b77f
Pipeline #6250 passed with stage
in 3 minutes and 29 seconds
This diff is collapsed.
...@@ -30,7 +30,7 @@ atty = "0.2.11" ...@@ -30,7 +30,7 @@ atty = "0.2.11"
clap = "2.33.0" clap = "2.33.0"
decimal = { git = "https://github.com/alkis/decimal.git", default-features = false } decimal = { git = "https://github.com/alkis/decimal.git", default-features = false }
failure = "0.1.5" failure = "0.1.5"
liner = "0.4.4" liner = { git = "https://gitlab.redox-os.org/redox-os/liner" }
num = "0.2.0" num = "0.2.0"
rand = "0.6.5" rand = "0.6.5"
......
...@@ -94,7 +94,13 @@ pub fn calc() -> Result<(), RuntimeError> { ...@@ -94,7 +94,13 @@ pub fn calc() -> Result<(), RuntimeError> {
let mut con = Context::new(); let mut con = Context::new();
let mut ans = None; let mut ans = None;
loop { loop {
let line = con.read_line(PROMPT, &mut |_| {})?; let line = con.read_line(
PROMPT,
None,
&mut liner::BasicCompleter::new(
Vec::<String>::default(),
),
)?;
match line.trim() { match line.trim() {
"" => (), "" => (),
"exit" => break, "exit" => break,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment