WIP
This commit is contained in:
parent
7757fbe241
commit
2ea0b89e7c
3 changed files with 303 additions and 31 deletions
|
@ -255,6 +255,8 @@ impl super::Window for Window {
|
|||
self.close_handlers.push(callback);
|
||||
}
|
||||
|
||||
fn set_input_handler(&mut self, _: Box<dyn crate::InputHandler>) {}
|
||||
|
||||
fn prompt(&self, _: crate::PromptLevel, _: &str, _: &[&str]) -> oneshot::Receiver<usize> {
|
||||
let (done_tx, done_rx) = oneshot::channel();
|
||||
self.pending_prompts.borrow_mut().push_back(done_tx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue