mirror of
https://github.com/extrawurst/gitui.git
synced 2024-12-26 10:33:25 +03:00
more on commands
This commit is contained in:
parent
73934ae753
commit
3d9241ebdc
@ -147,6 +147,7 @@ impl App {
|
||||
|
||||
// commands
|
||||
{
|
||||
let splitter = Text::Styled(Cow::from(" "), Style::default().bg(Color::Black));
|
||||
let t1 = Text::Styled(
|
||||
Cow::from("Commit [c]"),
|
||||
Style::default()
|
||||
@ -157,12 +158,15 @@ impl App {
|
||||
})
|
||||
.bg(Color::Blue),
|
||||
);
|
||||
let splitter = Text::Styled(Cow::from(" "), Style::default().bg(Color::Black));
|
||||
let t2 = Text::Styled(
|
||||
Cow::from("Help [h]"),
|
||||
Style::default().fg(Color::White).bg(Color::Blue),
|
||||
);
|
||||
Paragraph::new(vec![t1, splitter, t2].iter())
|
||||
let t3 = Text::Styled(
|
||||
Cow::from("Quit [q]"),
|
||||
Style::default().fg(Color::White).bg(Color::Blue),
|
||||
);
|
||||
Paragraph::new(vec![t1, splitter.clone(), t2, splitter.clone(), t3].iter())
|
||||
.alignment(Alignment::Left)
|
||||
.render(f, chunks_main[2]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user