added color coding, new state, improved save logic
This commit is contained in:
@@ -3,7 +3,6 @@ pub mod hints {
|
||||
style::{Color, Style},
|
||||
text::{Line, Text},
|
||||
};
|
||||
|
||||
pub fn mainHints<'a>() -> Text<'a> {
|
||||
Text::from(vec![
|
||||
Line::from("(a) Add entry").style(Style::default().fg(Color::Green)),
|
||||
@@ -20,6 +19,7 @@ pub mod hints {
|
||||
Line::from("(o) 0.0.0.0").style(Style::default().fg(Color::White)),
|
||||
Line::from("(c) Clear field").style(Style::default().fg(Color::White)),
|
||||
Line::from("(C) Clear all fields").style(Style::default().fg(Color::White)),
|
||||
Line::from("(←/→) Prev/Next field").style(Style::default().fg(Color::White)),
|
||||
Line::from("(enter) Next field/Save"),
|
||||
Line::from("(esc) Main menu").style(Style::default().fg(Color::LightBlue)),
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user