update readline.rs version

This commit is contained in:
Mark Thom
2019-03-17 15:22:31 -06:00
parent 2927387a66
commit 840b98dcf3
6 changed files with 16 additions and 14 deletions

View File

@@ -24,7 +24,7 @@ fn prolog_repl() {
match toplevel_read_line() {
Ok(Input::TermString(buffer)) => {
let result = match string_to_toplevel(buffer, &mut wam) {
let result = match string_to_toplevel(buffer.as_bytes(), &mut wam) {
Ok(packet) => compile_term(&mut wam, packet),
Err(e) => EvalSession::from(e)
};