aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/README.md b/docs/README.md
index ff79503a..05d335cc 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -38,7 +38,7 @@ Information about Tomo's built-in types can be found here:
Gets a line of user input text with a prompt.
```tomo
-func ask(prompt:Text, bold:Bool = yes, force_tty:Bool = yes -> Void)
+func ask(prompt:Text, bold:Bool = yes, force_tty:Bool = yes -> Text?)
```
- `prompt`: The text to print as a prompt before getting the input.