progressbar: add ellipsize()

This commit is contained in:
InsanePrawn 2022-11-18 16:58:56 +01:00
parent 219eb1cb75
commit 025dedc4b6
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] = {}