mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 17:08:21 +00:00
add todo
This commit is contained in:
parent
d50e17b353
commit
ea1415461f
1 changed files with 1 additions and 0 deletions
|
|
@ -164,6 +164,7 @@ pub trait Component {
|
|||
) -> CommandBlocking;
|
||||
|
||||
/// returns true if event propagation needs to end (event was consumed)
|
||||
//TODO: lets introduce an enum `EventState` as `enum EventState { Consumed, NotConsumed }` instead of bool
|
||||
fn event(&mut self, ev: Event) -> Result<bool>;
|
||||
|
||||
///
|
||||
|
|
|
|||
Loading…
Reference in a new issue