prompt configuration validated
Signed-off-by: Ava Hahn <ava@aidanis.online>
This commit is contained in:
parent
71b70fe4b8
commit
45453f819f
2 changed files with 2 additions and 5 deletions
|
|
@ -27,9 +27,7 @@ use std::io::{self, Write};
|
|||
use std::rc::Rc;
|
||||
|
||||
fn prompt_default_callback(_: Ast, _: Rc<RefCell<VTable>>, _: Rc<RefCell<FTable>>) -> Ctr {
|
||||
print!("λ ");
|
||||
io::stdout().flush().unwrap();
|
||||
return Ctr::None;
|
||||
return Ctr::String("λ ".to_string());
|
||||
}
|
||||
|
||||
pub fn configure(filename: String, vars: Rc<RefCell<VTable>>) -> Result<Rc<RefCell<FTable>>, String> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue