Skip to content

Commit

Permalink
Merge branch 'ak96/indented_unicodes' of github.com:aaruni96/Abstract…
Browse files Browse the repository at this point in the history
…Algebra.jl into ak96/indented_unicodes
  • Loading branch information
aaruni96 committed Feb 5, 2024
2 parents f6a4834 + aaa8adc commit b4a7478
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/PrettyPrinting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1591,8 +1591,6 @@ function _write_line(io::IOCustom, str::AbstractString)
spaceleft = c - ind - io.printed
end
#@show spaceleft
# maybe rewrite using https://docs.julialang.org/en/v1/stdlib/Unicode/#Unicode.graphemes
# once minimum supported version for package is Julia 1.9
_graphemes = Base.Unicode.graphemes(str)
firstlen = min(spaceleft, length(_graphemes))
# make an iterator over valid indices
Expand Down

0 comments on commit b4a7478

Please sign in to comment.