I'm trying to create a simple input loop in Clojure. The idea is to read in a line of text like so:
> look
You see nothing, as this game hasn't actually been written.
The method I'm using to attempt this is below:
(defn get-input []
(print "> ")
(string/trim-newline (read-line)))
However, the input loop instead looks like this:
look
> You see nothing, as this game hasn't actually been written.
How would one go about getting the angle quote to print before user input rather than after it?