Skip to content

Commit 6ad814c

Browse files
authored
Corrects comment for optional text prompt (#1857)
1 parent f32f80d commit 6ad814c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/input/prompts/text.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Console.WriteLine($"Your password is {password}");
197197
### Usage
198198

199199
```csharp
200-
// Ask the user to enter the password
200+
// Ask for the user's favorite color (optional)
201201
var color = AnsiConsole.Prompt(
202202
new TextPrompt<string>("[[Optional]] Favorite color?")
203203
.AllowEmpty());

0 commit comments

Comments
 (0)