From 3854ffafe2ad2de5f3beb45504e673c3b490b3d7 Mon Sep 17 00:00:00 2001 From: Michael Abbott <32575566+mcabbott@users.noreply.github.com> Date: Wed, 30 Oct 2024 12:02:02 -0400 Subject: [PATCH] Update src/show.jl --- src/show.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/show.jl b/src/show.jl index 01fb4f4..65fea74 100644 --- a/src/show.jl +++ b/src/show.jl @@ -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?