a8m / a8m/pb

There is no way to align progress bars in MultiBar

オープン
#83 コメント 0 件 リアクション 5 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
600
フォーク
59
PR マージ指標
30日以内にマージされた PR はありません

説明

Here is what I see:

```
7.85 GB / 13.96 GB ╢██████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ 56.26 % 1.41 GB/s 4s
7.82 GB / 7.82 GB ╢██████████████████████████████████████████████████████╟ 100.00 % 39.08 GB/s
3.37 GB / 21.79 GB ╢██████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ 15.49 % 664.74 MB/s 28s
```

Instead, it would be nice to see something like following:

```
7.85 GB / 13.96 GB ╢██████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░╟ 56.26 % 1.41 GB/s 4s
7.82 GB / 7.82 GB ╢██████████████████████████████████████████████████╟ 100.00 % 39.08 GB/s
3.37 GB / 21.79 GB ╢██████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ 15.49 % 664.74 MB/s 28s
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Look at the MultiBar implementation in the source code, likely in src/multibar.rs or similar. Understand how the progress bars are currently formatted and printed. The goal is to align the numbers (like '13.96 GB' and '7.82 GB') by padding them to a fixed width, and similarly align the percentages and speed units. Check existing tests for formatting to see how to add this feature without breaking existing behavior.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
cli
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。