added save confirmation, changed exit dialog
This commit is contained in:
@@ -43,4 +43,11 @@ pub mod hints {
|
||||
pub fn settingsHints<'a>() -> Text<'a> {
|
||||
Text::from(Line::from("").style(Style::default().fg(Color::Red)))
|
||||
}
|
||||
|
||||
pub fn saveConfirmationHints<'a>() -> Text<'a> {
|
||||
Text::from(vec![
|
||||
Line::from("(entr) Save and reload service").style(Style::default().fg(Color::Yellow)),
|
||||
Line::from("(esc) Cancel").style(Style::default().fg(Color::LightRed)),
|
||||
])
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user