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
|
|
@ -33,8 +33,7 @@ In string lib
|
|||
**** DONE Function to load configuration into Variable and Function tables
|
||||
**** DONE Configure in main shell
|
||||
**** DONE manual verification of config settings
|
||||
**** FAILING manual verification of config defaults
|
||||
Cannot get default CFG_RELISH_PROMPT. Unclear if this is a bug in FTable or config
|
||||
**** DONE manual verification of config defaults
|
||||
*** TODO Help function
|
||||
*** TODO Env function
|
||||
*** TODO User variable declaration
|
||||
|
|
|
|||
|
|
@ -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