fix a misplaced paren

This commit is contained in:
2022-07-03 02:03:27 +00:00
parent f6a3e0e68f
commit 9f1126b16f

View File

@@ -25,13 +25,11 @@
(ui.enterText (ui.enterText
"${arg.name} (up to ${maxLength} characters):" "${arg.name} (up to ${maxLength} characters):"
trySubmit trySubmit
maxLength)) maxLength)
(trySubmit (readString stream))) (trySubmit (readString stream))))
((VarText maxLength) ((VarText maxLength)
(unless maxLength (set maxLength Math.POSITIVE_INFINITY)) (unless maxLength (set maxLength Math.POSITIVE_INFINITY))
(let [collectedText []] (let [collectedText []]
(localFunction :Void enterTextAgain [] (localFunction :Void enterTextAgain []
(localFunction :Void trySubmit [text] (localFunction :Void trySubmit [text]
(if !text (if !text