feat: update vcs changed files info when click on branch status
This commit is contained in:
parent
fdf2b6d376
commit
7f7f12a441
1 changed files with 1 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ pub fn ctx_deinit(self: *Self) void {
|
||||||
|
|
||||||
fn on_click(self: *Self, _: *ButtonType, _: Widget.Pos) void {
|
fn on_click(self: *Self, _: *ButtonType, _: Widget.Pos) void {
|
||||||
self.refresh_vcs_status();
|
self.refresh_vcs_status();
|
||||||
|
tui.sync_with_vcs() catch {};
|
||||||
command.executeName("show_vcs_status", .{}) catch {};
|
command.executeName("show_vcs_status", .{}) catch {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue