Pressing arrow keys do not work correctly in Clojure console -
i downloaded clojure jar. version 1.6.0. when run clojure in console press arrow keys don't move cursor produce these characters "[[d^[[c.
i start clojure using command:
java -cp clojure-1.6.0.jar clojure.main
using java 1.7.0_55 64 bit on ubuntu 14.04 lts 64 bit.
how can normal arrow keys behaviour ?
the repl bundled clojure pretty terrible. that's okay, because want install leiningen anyway, , repl better, including various readline stuff you're used to.
but in general, if there's app terrible job of being repl, can always use rlwrap
wrap app in readline.
Comments
Post a Comment