Skip to content

How can I take user input? #704

Answered by sogaiu
tsklxiv asked this question in Q&A
May 26, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Does the following help?

(prin "what is your favorite color? ")

(flush)

(def response (getline))

(print "really? your favorite color is " (string/trimr response) "?")

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tsklxiv
Comment options

Answer selected by tsklxiv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants