diff --git a/src/display_methods.jl b/src/display_methods.jl index 81da8ab..9161479 100644 --- a/src/display_methods.jl +++ b/src/display_methods.jl @@ -61,7 +61,11 @@ end #Text is written to stdout, called from "term" mode chunks function Base.display(report::Report, m::MIME"text/plain", data) - s = reprmime(m, data) + io = PipeBuffer() + show(IOContext(io, :limit => true), m, data) + flush(io) + s = readstring(io) + close(io) println(s) end