Merge remote-tracking branch 'origin/main' into go-to-definition

This commit is contained in:
Nathan Sobo 2022-01-21 11:12:38 -07:00
commit 19751e9200
5 changed files with 20 additions and 4 deletions

View file

@ -86,6 +86,7 @@ pub trait Window: WindowContext {
fn on_resize(&mut self, callback: Box<dyn FnMut()>);
fn on_close(&mut self, callback: Box<dyn FnOnce()>);
fn prompt(&self, level: PromptLevel, msg: &str, answers: &[&str]) -> oneshot::Receiver<usize>;
fn activate(&self);
}
pub trait WindowContext {