uv
ae242c3b - Ensure Pythons are aligned in `uv python list` (#4884)

Commit
2 years ago
Ensure Pythons are aligned in `uv python list` (#4884) ## Summary The existing tab input sometimes leads to misalignment on my machine, I think it has to do with breakpoints? ![Screenshot 2024-07-07 at 9 22 43 PM](https://github.com/astral-sh/uv/assets/1309177/c95c5d26-3acb-48a6-8cce-d76f219f5afe) This PR computes the width explicitly, and then pads each line. I also added some colors to the RHS. I think it makes it easier to scan, but don't feel strongly. ![Screenshot 2024-07-07 at 9 36 56 PM](https://github.com/astral-sh/uv/assets/1309177/1c89c83b-9562-4597-a892-021573c48f8d)
Author
Parents
Loading