mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
parent
b7bf861554
commit
d96904a07d
@ -241,7 +241,7 @@ impl From<Box<dyn Fn(&mut Cursive)>> for Callback {
|
|||||||
pub enum EventResult {
|
pub enum EventResult {
|
||||||
/// The event was ignored. The parent can keep handling it.
|
/// The event was ignored. The parent can keep handling it.
|
||||||
Ignored,
|
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?
|
Consumed(Option<Callback>), // TODO: make this a FnOnce?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user