When opening a path in an existing window, move it to the foreground

This commit is contained in:
Nathan Sobo 2022-01-20 20:45:30 -07:00
parent 7c233ed682
commit fbca28337a
5 changed files with 20 additions and 4 deletions

View file

@ -223,6 +223,8 @@ impl super::Window for Window {
fn prompt(&self, _: crate::PromptLevel, _: &str, _: &[&str], f: Box<dyn FnOnce(usize)>) {
self.last_prompt.replace(Some(f));
}
fn activate(&self) {}
}
pub fn platform() -> Platform {