File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -217,22 +217,23 @@ If you want to update a specific form there is a function
217
217
218
218
#### Caveats
219
219
220
- It is highly recommended to use a cons pair like ` ("localhost" . 5555) ` to
221
- connect to a socket REPL, terminal REPLs are inherently hard to work with and
222
- support will be deprecated in the foreseeable future. If you use the
223
- same project often, make a ` .dir-locals.el ` file with this information in ` inf-clojure-custom-startup ` .
224
-
225
- Note that if you decide _ NOT_ to use the socket REPL, it is highly recommended
226
- you disable output coloring and/or readline facilities: ` inf-clojure ` does not
220
+ As ` inf-clojure ` is built on top of ` comint ` it has all the usual comint limitations -
221
+ namely it can't handle well some fancy terminal features (e.g. ANSI colours).
222
+ In general the "dumber" your terminal REPL is, the better (e.g. ` clojure ` vs ` clj ` ).
223
+ Connecting to a socket REPL is one simple way to avoid dealing with this type of
224
+ problems.
225
+
226
+ If you decide _ not_ to use the socket REPL, it is highly recommended
227
+ you disable output coloring and/or ` readline ` facilities: ` inf-clojure ` does not
227
228
filter out ASCII escape characters at the moment and will not behave correctly.
228
229
229
- For leiningen , there are no command line switches and you need to add
230
+ For Leiningen , there are no command- line switches and you need to add
230
231
a custom [ ` project.clj `
231
232
option] ( https://github.com/technomancy/leiningen/blob/master/sample.project.clj ) :
232
233
233
234
``` clojure
234
235
...
235
- :repl-options {:color false }
236
+ :repl-options {:color false }
236
237
...
237
238
```
238
239
You can’t perform that action at this time.
0 commit comments