Skip to content

Commit 1beb0db

Browse files
committed
FIX: not using temp variable in ASK function
(which was added in recent commit ad68103)
1 parent ca7bb39 commit 1beb0db

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/mezz/mezz-files.r

+2-4
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,12 @@ ask: func [
8181
"Ask the user for input."
8282
question [series!] "Prompt to user"
8383
/hide "Turns off echoing inputs"
84-
/local tmp
8584
][
8685
prin question
8786
trim either hide [
88-
prin "^[[8m" ; ANSI conceal command
89-
tmp: input
87+
prin "^[[8m" ; ANSI conceal command
88+
also input
9089
print "^[[28m" ; ANSI reveal command
91-
tmp
9290
][ input ]
9391
]
9492

0 commit comments

Comments
 (0)