Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-p2p/py-ed2k-tools: improve transfers' summary printing script
- Do not hardcode terminal width, ask for it instead and fallback to 80 characters if cannot get it (available since Python 3.3) - Handle filenames with CJK characters properly, i.e. account for extra space they occupy when truncating strings (can be mixed)
- Loading branch information
Alexey Dokuchaev
authored and
Alexey Dokuchaev
committed
May 18, 2023
1 parent
bde11cf
commit 9835d09
Showing
1 changed file
with
52 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters