cider icon indicating copy to clipboard operation
cider copied to clipboard

Reduce the `nrepl.middleware.print/quota` for interactive eval

Open vemv opened this issue 5 months ago • 0 comments

When doing interactive eval, the result will generally be displayed inline in the current buffer, as an overlay (there's the exception of the output-to-current-buffer arg).

So the default quota of 1MB is excessive there, as we never possibly want to render 1MB worth of output in the current buffer.

(There's client-side trimming, but we shouldn't overload it trivially)

The quota should be limited to appoximately one screenful worth of characters, give or take - can be discussed at PR time.

vemv avatar Mar 14 '24 07:03 vemv