refactor: rename open_changed_files to show_vcs_status
This fits a bit better as we will add commands to do more than just open the files in the status palette.
This commit is contained in:
parent
7f7f12a441
commit
61de5d89d7
3 changed files with 6 additions and 6 deletions
|
|
@ -37,7 +37,7 @@ longest: usize,
|
|||
commands: Commands = undefined,
|
||||
buffer_manager: ?*BufferManager,
|
||||
|
||||
const inputbox_label = "Open changed files by name";
|
||||
const inputbox_label = "Changed or untracked files";
|
||||
const MenuType = Menu.Options(*Self).MenuType;
|
||||
const ButtonType = MenuType.ButtonType;
|
||||
|
||||
|
|
@ -75,7 +75,7 @@ pub fn create(allocator: std.mem.Allocator) !tui.Mode {
|
|||
.insert_command = "overlay_insert_bytes",
|
||||
});
|
||||
mode.event_handler = EventHandler.to_owned(self);
|
||||
mode.name = " open changed";
|
||||
mode.name = " status";
|
||||
return mode;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue