Merge pull request #407 from snakecase/patch-3

Add a hint for empty input and pressing ESC during prompts
This commit is contained in:
Ilya Kantor 2018-03-31 22:56:17 +03:00 committed by GitHub
commit d16fb0533f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,4 +20,6 @@ The schema:
Please use nested `if` blocks. Mind the overall readability of the code. 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] [demo]