Merge pull request #407 from snakecase/patch-3
Add a hint for empty input and pressing ESC during prompts
This commit is contained in:
commit
d16fb0533f
1 changed files with 2 additions and 0 deletions
|
@ -20,4 +20,6 @@ The schema:
|
|||
|
||||
Please use nested `if` blocks. Mind the overall readability of the code.
|
||||
|
||||
Hint: passing an empty input to a prompt returns an empty string `''`. Pressing `key:ESC` during a prompt returns `null`.
|
||||
|
||||
[demo]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue