aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-21 18:07:17 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-21 18:07:17 -0400
commitc153e052583fecc39f2cac9c40f99218e2e70c41 (patch)
tree7f570bddbe3147ddcba3086a598eef59ca0ee3a0 /stdlib
parentb468ee67f21570d278f80d569eca8ee4149fb7cd (diff)
Fixes for ask() being optional and command success status
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/stdlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/stdlib.c b/stdlib/stdlib.c
index 9103e4dd..d09488d0 100644
--- a/stdlib/stdlib.c
+++ b/stdlib/stdlib.c
@@ -646,7 +646,7 @@ public _Noreturn void tomo_exit(Text_t text, int32_t status)
_exit(status);
}
-public Text_t ask(Text_t prompt, bool bold, bool force_tty)
+public OptionalText_t ask(Text_t prompt, bool bold, bool force_tty)
{
OptionalText_t ret = NONE_TEXT;
FILE *out = stdout;