mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
cleanup
This commit is contained in:
parent
09f893f3b0
commit
c4b2c81227
3 changed files with 3 additions and 7 deletions
|
|
@ -221,10 +221,6 @@ impl App {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
res.push(CommandInfo {
|
|
||||||
name: strings::CMD_STATUS_NEXT.to_string(),
|
|
||||||
enabled: true,
|
|
||||||
});
|
|
||||||
res.push(CommandInfo {
|
res.push(CommandInfo {
|
||||||
name: strings::CMD_STATUS_QUIT.to_string(),
|
name: strings::CMD_STATUS_QUIT.to_string(),
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ impl Component for DiffComponent {
|
||||||
Paragraph::new(txt.iter())
|
Paragraph::new(txt.iter())
|
||||||
.block(
|
.block(
|
||||||
Block::default()
|
Block::default()
|
||||||
.title(strings::DIFF_TITLE)
|
.title(strings::TITLE_DIFF)
|
||||||
.borders(Borders::ALL)
|
.borders(Borders::ALL)
|
||||||
.border_style(style_border)
|
.border_style(style_border)
|
||||||
.title_style(style_title),
|
.title_style(style_title),
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
pub static TITLE_STATUS: &str = "Status [1]";
|
pub static TITLE_STATUS: &str = "Status [1]";
|
||||||
|
pub static TITLE_DIFF: &str = "Diff [2]";
|
||||||
pub static TITLE_INDEX: &str = "Index [3]";
|
pub static TITLE_INDEX: &str = "Index [3]";
|
||||||
|
|
||||||
pub static TAB_STATUS: &str = "Status";
|
pub static TAB_STATUS: &str = "Status";
|
||||||
pub static TAB_DIVIDER: &str = " | ";
|
pub static TAB_DIVIDER: &str = " | ";
|
||||||
|
|
||||||
pub static CMD_STATUS_STAGE: &str = "Stage File [enter]";
|
pub static CMD_STATUS_STAGE: &str = "Stage File [enter]";
|
||||||
pub static CMD_STATUS_UNSTAGE: &str = "Unstage File [enter]";
|
pub static CMD_STATUS_UNSTAGE: &str = "Unstage File [enter]";
|
||||||
pub static CMD_STATUS_RESET: &str = "Reset File [D]";
|
pub static CMD_STATUS_RESET: &str = "Reset File [D]";
|
||||||
pub static CMD_STATUS_NEXT: &str = "Next [tab]";
|
|
||||||
pub static CMD_STATUS_QUIT: &str = "Quit [esc,q]";
|
pub static CMD_STATUS_QUIT: &str = "Quit [esc,q]";
|
||||||
pub static CMD_SPLITTER: &str = " ";
|
pub static CMD_SPLITTER: &str = " ";
|
||||||
|
|
||||||
pub static DIFF_CMD_SCROLL: &str = "Scroll [↑↓]";
|
pub static DIFF_CMD_SCROLL: &str = "Scroll [↑↓]";
|
||||||
pub static DIFF_TITLE: &str = "Diff [2]";
|
|
||||||
|
|
||||||
pub static COMMIT_TITLE: &str = "Commit";
|
pub static COMMIT_TITLE: &str = "Commit";
|
||||||
pub static COMMIT_MSG: &str = "type commit message..";
|
pub static COMMIT_MSG: &str = "type commit message..";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue