From d169cfe1456d7118af79433ca8cc10635c770c05 Mon Sep 17 00:00:00 2001 From: Russ Christensen Date: Tue, 1 Oct 2024 20:26:56 -0700 Subject: [PATCH] Add examples that cause problems and show bugs --- inquire/examples/select.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/inquire/examples/select.rs b/inquire/examples/select.rs index 54767c3d..696e5b78 100644 --- a/inquire/examples/select.rs +++ b/inquire/examples/select.rs @@ -2,6 +2,7 @@ use inquire::Select; fn main() { let options = vec![ + " [🏃‍♂️ Needs a reason] | Some text to use up space ⬅ More text to use up space ⬅ More and more and more text to use up space ⬅ More and more text to use up space ⬅ More and more text to use up space ⬅ More text to use up space ⬅ More Text to use up space ⬅ More text to use up space ⬅ More text to use up space ⬅ Final text section", "Banana", "Apple", "Strawberry", @@ -13,7 +14,14 @@ fn main() { "Pear", "Avocado", "Pineapple", - ]; + //"Download - school webpage - https://web.archive.org/web/20150910082528/http://www.cs.utah.edu/~rchriste/ ⬅ 🎯🏞 Save a history of my life / Journaling / Family History ⬅ 🎯 Save a history of my life / Journaling", +// "🔥 [👨‍👦 Needs a reason] |🔴 🪜 Some text to use up space ⬅ 🪜 More text to use up space ⬅ 🪜 More and more and more text to use up space ⬅ 🪜 More and more text to use up space ⬅ 🪜 More and more text to use up space ⬅ 🪜 More text to use up space ⬅ 🪜 More Text to use up space ⬅ 🪜 More text to use up space ⬅ 🪜 More text to use up space ⬅ 🎯 Final text section", +// "🔥 [🏗️ Needs a reason] |🔴 🪜 Some text to use up space ⬅ 🪜 More text to use up space ⬅ 🪜 More and more and more text to use up space ⬅ 🪜 More and more text to use up space ⬅ 🪜 More and more text to use up space ⬅ 🪜 More text to use up space ⬅ 🪜 More Text to use up space ⬅ 🪜 More text to use up space ⬅ 🪜 More text to use up space ⬅ 🎯 Final text section", +//This next one works fine +//"🔥 [🏃 Needs a reason] |🔴 🪜 Some text to use up space ⬅ 🪜 More text to use up space ⬅ 🪜 More and more and more text to use up space ⬅ 🪜 More and more text to use up space ⬅ 🪜 More and more text to use up space ⬅ 🪜 More text to use up space ⬅ 🪜 More Text to use up space ⬅ 🪜 More text to use up space ⬅ 🪜 More text to use up space ⬅ 🎯 Final text section", +// "🔥 [🏃‍♂️ Needs a reason] |🔴 🪜 Some text to use up space ⬅ 🪜 More text to use up space ⬅ 🪜 More and more and more text to use up space ⬅ 🪜 More and more text to use up space ⬅ 🪜 More and more text to use up space ⬅ 🪜 More text to use up space ⬅ 🪜 More Text to use up space ⬅ 🪜 More text to use up space ⬅ 🪜 More text to use up space ⬅ 🎯 Final text section", + + ]; let ans = Select::new("What's your favorite fruit?", options).prompt();