added color coding, new state, improved save logic
Some checks failed
/ Quality Check (push) Failing after 1m33s
/ Build (push) Successful in 1m14s

This commit is contained in:
Phani Pavan K
2025-10-23 15:57:27 +05:30
parent a795ad986b
commit c4feab2f75
8 changed files with 89 additions and 17 deletions

View File

@@ -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)),
])