Skip to content

Commit

Permalink
[REPL] raise default implicit show limit to 1MiB (#56297)
Browse files Browse the repository at this point in the history
#53959 (comment)

I would like to understand more where these issues are coming from; it
would be easy to exempt some types from Base or Core with
```julia
REPL.show_limited(io::IO, mime::MIME, x::SomeType) = show(io, mime, x)
```
but I'm not sure which are causing problems in practice.

But meanwhile I think raising the limit makes sense.
  • Loading branch information
ericphanson authored Nov 7, 2024
1 parent 5848445 commit 910bf7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/REPL/src/REPL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ function repl_backend_loop(backend::REPLBackend, get_module::Function)
return nothing
end

SHOW_MAXIMUM_BYTES::Int = 20480
SHOW_MAXIMUM_BYTES::Int = 1_048_576

# Limit printing during REPL display
mutable struct LimitIO{IO_t <: IO} <: IO
Expand Down

0 comments on commit 910bf7e

Please sign in to comment.