Skip to content

Reduce the nrepl.middleware.print/quota for interactive eval #3633

Open
@vemv

Description

@vemv

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions