Open JonathanAnderson opened 6 years ago
I was expecting something more like this
julia> base64encode(x)
"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgAQAAAABbAUdZAAAABGdBTUEAAYagMeiWXwAAAFtJREFUeJwtzLEJAzAMBdHr0gSySiALejRvkBU8gsGNCmFFB1Hx4IovqurSpIRszqklUwbnUzRXEuIRsiG/SyY9G0JzJSVei9qynm9qyjBpLp0pYW7pbzBl8L8fEIdJL9AvFMkAAAAASUVORK5CYII="
If I change TerminalExtensions.jl:95 from
show(Base64.Base64EncodePipe(buf),m,x)
to
write(Base64.Base64EncodePipe(buf),x)
Then TerminalExtensions works for me again.
But I'm not sure what the expected behaviour of show for a MIME type is supposed to be..
I'm trying to get this to work for me in v1 since I used to love using this tool. I havent been able to get it to work, so i've put together what I think a MWE is and I'm running into a missing show method for a
Base64EncodePipe
. II've put this tiny png image into an buffer and try to display it directly as follows
so I define
Base.show
and added anIO
field to the InlineDisplay so I could send output to stderr and pipe that to hd to see what was going on and this is what I got.hd stderr.log
When I manually base64encoded the buffer, it didnt look like this either.
Is this user error or is something broken here?