Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merged pull request #3 from mreynolds/patch-1.

Use the platform line separator, instead of "\n"
  • Loading branch information...
commit c45ebf6b94d20f3e916b710c91aef9eb1c79336c 2 parents 864b971 + 1861665
@Licenser authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/lein_search/core.clj
View
3  src/lein_search/core.clj
@@ -6,6 +6,7 @@
;; TODO: check to see if leiningen.core/home-dir is defined; use it if so.
(def *lein-dir* (str (System/getProperty "user.home") "/.lein"))
+(def *line-sep* (str (System/getProperty "line.separator")))
;;; User input functions
@@ -36,7 +37,7 @@ with a numbered list of choices."
(if (= 1 (count choices))
(first choices)
(do (println
- (str-join "\n"
+ (str-join *line-sep*
(for [[n i] (map vector (iterate inc 1) choices)]
(str n ": " (formatter i)))))
(loop []
Please sign in to comment.
Something went wrong with that request. Please try again.