mirror of
https://github.com/extrawurst/gitui.git
synced 2024-11-27 10:15:07 +03:00
dont send noop GitNotification into app
This commit is contained in:
parent
1afa91b144
commit
dc5911de20
@ -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 New Issue
Block a user