progressbar: add ellipsize()

This commit is contained in:
InsanePrawn 2022-11-18 16:58:56 +01:00
parent ac25266a00
commit ff3b5e70dd
3 changed files with 22 additions and 7 deletions

View file

@ -6,6 +6,7 @@ from typing import Hashable, Optional
from config.state import config
BAR_PADDING = 25
DEFAULT_OUTPUT = sys.stderr
managers: dict[Hashable, Manager] = {}