Skip to content

: prompt

Show a prompt that asks the user to type a string, and wait asynchronously until it is closed. Returns the text that was typed, or nil if the dialog was closed

Usage: : prompt <EXPRESSION>...

Arguments

Name Description Possible values Default
<EXPRESSION> The expression to show in the prompt