Skip to content

Commit b33e182

Browse files
committed
[Docs] Mention cider-repl-display-output-before-window-boundaries
1 parent 2e213f9 commit b33e182

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

doc/modules/ROOT/pages/repl/configuration.adoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,23 @@ built-in option `scroll-conservatively`, for example:
118118
(add-hook 'cider-repl-mode-hook '(lambda () (setq scroll-conservatively 101)))
119119
----
120120

121+
== Display Output Preceding the REPL Window Boundaries
122+
123+
If your REPL prompt is at the beginning of the REPL window (e.g. you pressed
124+
`C-l` a couple of times to recenter your REPL window) and some output is
125+
displayed there from an interactive evaluation in a Clojure buffer, this output
126+
won't automatically be scrolled into view. If you want to force such output to
127+
be displayed you'll need to add the following to your config:
128+
129+
[source,lisp]
130+
----
131+
(setq cider-repl-display-output-before-window-boundaries t)
132+
----
133+
134+
NOTE: This behaviour was changed in CIDER 1.7, as the auto-scrolling of output
135+
before the REPL prompt is rarely needed, but it's current implementation is very
136+
slow.
137+
121138
== Auto-trimming the REPL buffer
122139

123140
NOTE: This functionality is disabled by default.

0 commit comments

Comments
 (0)