diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-12-15 16:53:18 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-12-15 16:53:18 -0500 |
| commit | d3eb8b8339b9f2aa1702cd6e38cc12448eff5882 (patch) | |
| tree | 80159a93c6fe235bd56d451945c6dd1fe1404162 /stdlib/stdlib.c | |
| parent | 0caf96cfe7783c6d0dc30c74e7bed7dd315cc30a (diff) | |
Have ask() return an optional text
Diffstat (limited to 'stdlib/stdlib.c')
| -rw-r--r-- | stdlib/stdlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
