Skip to content

Commit

Permalink
print the skipping bytes notification when skipping printing parts of…
Browse files Browse the repository at this point in the history
… a string in color (#50096)
  • Loading branch information
KristofferC authored Jun 9, 2023
1 parent f8827f1 commit feaea22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/strings/io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ function show(
if 4t n || t n && t length(str, head, tail-1)
skip = skip_text(n)
show(io, SubString(str, 1:prevind(str, head)))
print(io, skip) # TODO: bold styled
printstyled(io, skip; color=:light_yellow, bold=true)
show(io, SubString(str, tail))
else
show(io, str)
Expand Down

0 comments on commit feaea22

Please sign in to comment.