mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-10 03:10:41 +00:00
parent
b7bf861554
commit
d96904a07d
@ -241,7 +241,7 @@ impl From<Box<dyn Fn(&mut Cursive)>> for Callback {
|
||||
pub enum EventResult {
|
||||
/// The event was ignored. The parent can keep handling it.
|
||||
Ignored,
|
||||
/// The event was consumed. An optionnal callback to run is attached.
|
||||
/// The event was consumed. An optional callback to run is attached.
|
||||
Consumed(Option<Callback>), // TODO: make this a FnOnce?
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user