fix: setup wizard non-interactive safe, TUI script daemon detection + timing
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 3s

This commit is contained in:
2026-05-05 14:26:27 -04:00
parent 9281e37c01
commit 23b8cfacd3
4 changed files with 76 additions and 22 deletions

View File

@@ -98,10 +98,11 @@ Creates the config directory tree if it does not exist.
;; REPL-VERIFIED: 2026-05-03T13:00:00
#+begin_src lisp
(defun prompt (prompt-text)
"Simple prompt that returns user input as a string."
"Simple prompt that returns user input as a string.
Returns nil if stdin is non-interactive."
(format t "~a" prompt-text)
(finish-output)
(read-line))
(ignore-errors (read-line)))
#+end_src
** prompt-yes-no