Fix prompt

This commit is contained in:
greg 2019-05-26 15:22:36 -07:00
parent 548a7b5f36
commit f27a65018d

View File

@ -85,7 +85,7 @@ impl Repl {
fn update_line_reader(&mut self) { fn update_line_reader(&mut self) {
let tab_complete_handler = TabCompleteHandler::new(self.interpreter_directive_sigil, self.get_directives()); let tab_complete_handler = TabCompleteHandler::new(self.interpreter_directive_sigil, self.get_directives());
self.line_reader.set_completer(Arc::new(tab_complete_handler)); self.line_reader.set_completer(Arc::new(tab_complete_handler));
let prompt_str = format!(" >> "); let prompt_str = format!(">> ");
self.line_reader.set_prompt(&prompt_str).unwrap(); self.line_reader.set_prompt(&prompt_str).unwrap();
} }