mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-09-15 01:05:33 +08:00
Fix strange sentence in docs
This commit is contained in:

committed by
Patrik Svensson

parent
c70a8b8fc5
commit
7f8ed509bb
@@ -154,7 +154,7 @@ var password = AnsiConsole.Prompt(
|
|||||||
.Secret());
|
.Secret());
|
||||||
|
|
||||||
// Echo the password back to the terminal
|
// Echo the password back to the terminal
|
||||||
Console.WriteLine($"Joking is not a secret that your password is {password}");
|
Console.WriteLine($"Your password is {password}");
|
||||||
```
|
```
|
||||||
|
|
||||||
## Masks
|
## Masks
|
||||||
@@ -183,7 +183,7 @@ var password = AnsiConsole.Prompt(
|
|||||||
.Secret('-'));
|
.Secret('-'));
|
||||||
|
|
||||||
// Echo the password back to the terminal
|
// Echo the password back to the terminal
|
||||||
Console.WriteLine($"Joking is not a secret that your password is {password}");
|
Console.WriteLine($"Your password is {password}");
|
||||||
```
|
```
|
||||||
|
|
||||||
## Optional
|
## Optional
|
||||||
|
Reference in New Issue
Block a user