Skip to content

Commit

Permalink
drop 1.6 lts compat code
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg authored Nov 11, 2024
1 parent 37f231b commit 31ecd28
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 @@ -83,7 +83,7 @@ function print_title(
post_pad = blank^(max(0, p_width - length(pre_pad) - length(title)))
print_nocol(io, post_pad, right_pad)
(
count(string('\n'), title) + 1, # NOTE: string(...) for compat with 1.6
count('\n', title) + 1,
length(strip(left_pad * pre_pad * title * post_pad * right_pad, '\n')),
)
end
Expand Down

0 comments on commit 31ecd28

Please sign in to comment.