Skip to content

Commit

Permalink
FIX: not using temp variable in ASK function
Browse files Browse the repository at this point in the history
(which was added in recent commit ad68103)
  • Loading branch information
Oldes committed Dec 1, 2018
1 parent ca7bb39 commit 1beb0db
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/mezz/mezz-files.r
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,12 @@ ask: func [
"Ask the user for input."
question [series!] "Prompt to user"
/hide "Turns off echoing inputs"
/local tmp
][
prin question
trim either hide [
prin "^[[8m" ; ANSI conceal command
tmp: input
prin "^[[8m" ; ANSI conceal command
also input
print "^[[28m" ; ANSI reveal command
tmp
][ input ]
]

Expand Down

0 comments on commit 1beb0db

Please sign in to comment.