HomeFreeBSD

net-p2p/py-ed2k-tools: improve transfers' summary printing script

Description

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)

Details

Provenance
danfeAuthored on May 18 2023, 9:04 AM
Parents
R11:bde11cff5ac2: devel/pycharm-ce: Update to 2023.1.2
Branches
Unknown
Tags
Unknown