mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-15 00:12:50 +08:00
Fix strange sentence in docs
This commit is contained in:
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user