diff --git a/src/main.rs b/src/main.rs index 42a554f..d88fb7e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -382,10 +382,11 @@ fn interactive() -> Result<(), Box>{ ScriptAction::Replace(*replace_id) }else{ //interactive logic goes here + print!("unresolved source location={}\naction: ",get_full_name(&dom, script)); + std::io::Write::flush(&mut std::io::stdout())?; //load source into current.lua std::fs::write("current.lua",source)?; //prompt action in terminal - println!("unresolved source location={}",get_full_name(&dom, script)); //wait for input let script_action; loop{