We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 99f5305 + 36c124f commit d1095c3Copy full SHA for d1095c3
src/tabs/status.rs
@@ -27,15 +27,15 @@ use tui::{
27
widgets::Paragraph,
28
};
29
30
-///
+/// what part of the screen is focused
31
#[derive(PartialEq)]
32
enum Focus {
33
WorkDir,
34
Diff,
35
Stage,
36
}
37
38
+/// which target are we showing a diff against
39
#[derive(PartialEq, Copy, Clone)]
40
enum DiffTarget {
41
@@ -317,6 +317,9 @@ impl Status {
317
match ev {
318
AsyncNotification::Diff => self.update_diff()?,
319
AsyncNotification::Status => self.update_status()?,
320
+ AsyncNotification::Push
321
+ | AsyncNotification::Fetch
322
+ | AsyncNotification::CommitFiles => self.branch_compare(),
323
_ => (),
324
325
0 commit comments