Open mitsuhiko opened 6 years ago
Apparently this is caused by the code that attempts to trim the left column.
I should probably just always drop the ./
. I'm not super happy with the way this looks as is but things look unbelievably broken if I don't trim. Definitely open to suggestions if you've got any ideas/preferences.
my two cents: 1.- drop the | char ( now you have one more char ) 2.- replace the ./ with / or just drop it. 3.- when trimming use ~ or "..." ( i think there is a iso char for that ) for trimmed paths.
Rust 27 3723 450 446 2827 -------------------------------------------------------------------------------- /aorta/src/auth.rs 549 77 68 404 /trove/src/types.rs 413 45 74 294 /cabi/src/core.rs 305 29 35 241 /common/src/dsn.rs 243 36 12 195 /aorta/src/projectstate.rs 313 28 94 191 (now it fits) /config/src/types.rs 235 26 33 176 /aorta/src/query.rs 205 24 13 168 /cabi/src/aorta.rs 181 22 19 140 /common/src/auth.rs 156 15 13 128 /common/src/project_id.rs 146 18 14 114 (also fits) /trove/src/auth.rs 114 15 7 92 ~ry/long/path/filename.rs 313 28 94 191 (trimmed) /~somefile.rs 1 1 1 1 (not trimmed, has a / at the start of filename)
using the ellipsis character.
/trove/src/auth.rs 114 15 7 92 …ry/long/path/filename.rs 313 28 94 191 (trimmed) /~somefile.rs 1 1 1 1 (not trimmed, has a / at the start of filename)
loc
currently produces for my project some weird filename output (./
vs/
vs no prefix):