diff --git a/Readme.org b/Readme.org index 742bcc1..23fbfe4 100644 --- a/Readme.org +++ b/Readme.org @@ -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 diff --git a/src/config.rs b/src/config.rs index 24eb35a..b0af11d 100644 --- a/src/config.rs +++ b/src/config.rs @@ -27,9 +27,7 @@ use std::io::{self, Write}; use std::rc::Rc; fn prompt_default_callback(_: Ast, _: Rc>, _: Rc>) -> Ctr { - print!("λ "); - io::stdout().flush().unwrap(); - return Ctr::None; + return Ctr::String("λ ".to_string()); } pub fn configure(filename: String, vars: Rc>) -> Result>, String> {