From d3eb8b8339b9f2aa1702cd6e38cc12448eff5882 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 15 Dec 2024 16:53:18 -0500 Subject: Have ask() return an optional text --- stdlib/stdlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/stdlib.c') diff --git a/stdlib/stdlib.c b/stdlib/stdlib.c index b4a1ad77..c7f1c13b 100644 --- a/stdlib/stdlib.c +++ b/stdlib/stdlib.c @@ -540,7 +540,7 @@ public _Noreturn void tomo_exit(Text_t text, int32_t status) public Text_t ask(Text_t prompt, bool bold, bool force_tty) { - Text_t ret = Text(""); + OptionalText_t ret = NONE_TEXT; FILE *out = stdout; FILE *in = stdin; -- cgit v1.2.3