Skip to content

Commit

Permalink
no longer align on last digit
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Dec 13, 2016
1 parent 2d6643e commit ead09b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions base/replutil.jl
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,7 @@ function show_backtrace(io::IO, t::Vector)
n_frames != 0 && print(io, "\nStacktrace:")
process_entry = (last_frame, n) -> begin
frame_counter += 1
n_spaces_align = ndigits(n_frames) - ndigits(frame_counter) + 1
show_trace_entry(io, last_frame, n, prefix = string(" "^n_spaces_align, "[", frame_counter, "] "))
show_trace_entry(io, last_frame, n, prefix = string(" [", frame_counter, "] "))
end
process_backtrace(process_entry, t)
end
Expand Down

0 comments on commit ead09b2

Please sign in to comment.