You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,8 @@ Simple prompt, similar to `rl.question()` with an improved UI.
55
55
56
56
Use `options.defaultValue` to set a default value.
57
57
58
+
Use `options.hint` to display a hint alongside the question.
59
+
58
60
Use `options.secure` if you need to hide both input and answer. You can provide either a **boolean** or an **object** which allows to configure a `placeholder` such as `*`.
59
61
60
62
Use `options.signal` to set an `AbortSignal` (throws a [AbortError](#aborterror)).
0 commit comments