mirror of https://github.com/mpastell/Weave.jl
Use compact output for IO
parent
51641124b5
commit
6c149b383c
|
@ -61,7 +61,11 @@ end
|
||||||
|
|
||||||
#Text is written to stdout, called from "term" mode chunks
|
#Text is written to stdout, called from "term" mode chunks
|
||||||
function Base.display(report::Report, m::MIME"text/plain", data)
|
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)
|
println(s)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue