proper example is being set

This commit is contained in:
Priec
2025-08-11 12:03:56 +02:00
parent e8a564aed3
commit 163a6262c8
3 changed files with 986 additions and 247 deletions

View File

@@ -41,6 +41,11 @@ name = "suggestions"
required-features = ["suggestions", "gui", "cursor-style"]
path = "examples/suggestions.rs"
[[example]]
name = "suggestions2"
required-features = ["suggestions", "gui", "cursor-style"]
path = "examples/suggestions2.rs"
[[example]]
name = "canvas_cursor_auto"
required-features = ["gui", "cursor-style"]

File diff suppressed because it is too large Load Diff

View File

@@ -479,10 +479,12 @@ impl ProductionSuggestionsProvider {
("Banana", "🍌 Rich in potassium"),
("Cherry", "🍒 Small and tart"),
("Date", "📅 Sweet and chewy"),
("Ananas", "🍎 Crisp and sweet"),
("Elderberry", "🫐 Dark purple berry"),
("Fig", "🍇 Sweet Mediterranean fruit"),
("Grape", "🍇 Perfect for wine"),
("Honeydew", "🍈 Sweet melon"),
("avocado", "🍎 Crisp and sweet"),
];
Ok(self.filter_suggestions(fruits, query))