knurling-rs / probe-run

Run embedded programs just like native ones
Apache License 2.0
645 stars 75 forks source link

extend `--shorten-paths`; highlight path segments #210

Closed japaric closed 3 years ago

japaric commented 3 years ago

this commit extends --shorten-paths so it now also handles:

it also adds highlighting to paths when --shorten-paths is not used

without --shorten-paths Screenshot from 2021-05-20 14-34-44

with --shorten-paths Screenshot from 2021-05-20 14-34-27

closes #66

Urhengulas commented 3 years ago

Looks good to me and I like the shortening! 😄

I think I would like to have this enabled per default and a flag for printing the long paths, but this is a story for another PR :D

japaric commented 3 years ago

bors r=Urhengulas

bors[bot] commented 3 years ago

Build succeeded: