fix: consider finished files and hide them from output by default #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "mattwang44/potodo:fix/issue-7"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
resolve #7
Not sure if there's an elegant way to do it, but I would prefer the overall percentage to always take completed files into consideration in completion calculations, independently from showing the completed files in detailed output or not. I think it's more natural that way.
@maciek Not sure if I understand you correctly, but I believe this change below in
select()would have the calculation considered for those finished files. The rest changes are to hide them from output by default and show them if--show-finishedis given.Ah, ok, thanks for explaining. Sorry for confusion! I wasn't careful enough reading through changes. I like the proposed behaviour! 👍
Looks good to me!
Released as 0.22.0, thanks for the PR and review!