Skip to content

Commit

Permalink
Update src/show.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott authored Oct 30, 2024
1 parent 8143623 commit 3854ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Base.alignment(io::IO, x::ShowWith) = alignment(io, x.val) .+ (2,0) # extra bra
Base.length(x::ShowWith) = length(string(x.val))
Base.ncodeunits(x::ShowWith) = ncodeunits(string(x.val))
Base.print(io::IO, x::ShowWith) = printstyled(io, string(x.val); x.nt...)
Base.iterate(x::ShowWith) = nothing
Base.iterate(x::ShowWith) = nothing # fix for https://github.com/mcabbott/AxisKeys.jl/issues/159

# For higher-dim printing, I just want change the [:, :, 1] things, add name/key,
# but can't see a way to hook in. So copy this huge function from Base?
Expand Down

0 comments on commit 3854ffa

Please sign in to comment.