mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
dont send noop GitNotification into app
This commit is contained in:
parent
1afa91b144
commit
dc5911de20
1 changed files with 6 additions and 1 deletions
|
|
@ -136,8 +136,13 @@ fn main() -> Result<()> {
|
|||
app.event(ev)?
|
||||
}
|
||||
QueueEvent::Tick => app.update()?,
|
||||
QueueEvent::GitEvent(ev) => app.update_git(ev)?,
|
||||
QueueEvent::GitEvent(ev)
|
||||
if ev != AsyncNotification::FinishUnchanged =>
|
||||
{
|
||||
app.update_git(ev)?
|
||||
}
|
||||
QueueEvent::SpinnerUpdate => unreachable!(),
|
||||
_ => (),
|
||||
}
|
||||
|
||||
draw(&mut terminal, &app)?;
|
||||
|
|
|
|||
Loading…
Reference in a new issue