Menu als state im Mode-System

This commit is contained in:
2026-06-13 19:24:28 +02:00
parent a41d39cc78
commit d584e418f5
4 changed files with 165 additions and 43 deletions
+1
View File
@@ -28,6 +28,7 @@ fn prompt_for(mode: &Mode) -> &'static str {
match mode {
Mode::Dialog(d) if !d.choices.is_empty() => " wahl> ",
Mode::Dialog(_) => " [Enter] ",
Mode::Menu => "menü> ",
Mode::Free => "> ",
}
}