Fix prompt
This commit is contained in:
parent
548a7b5f36
commit
f27a65018d
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user