mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
add a space after status indicators
This commit is contained in:
parent
b2401542eb
commit
810aa4e146
@ -69,7 +69,7 @@ class TerminalPrinter(Printer):
|
||||
self.width = shutil.get_terminal_size().columns - OFFSET
|
||||
|
||||
def start(self, path):
|
||||
safeprint(self.shorten(" " + path), end="", flush=True)
|
||||
safeprint(self.shorten(" " + path), end="", flush=True)
|
||||
|
||||
def skip(self, path):
|
||||
safeprint(self.shorten(CHAR_SKIP + path))
|
||||
@ -116,14 +116,14 @@ class ColorPrinter(TerminalPrinter):
|
||||
if platform.system() == "Windows":
|
||||
ANSI = os.environ.get("TERM") == "ANSI"
|
||||
OFFSET = 1
|
||||
CHAR_SKIP = "#"
|
||||
CHAR_ERROR = "!"
|
||||
CHAR_SUCCESS = "*"
|
||||
CHAR_SKIP = "# "
|
||||
CHAR_ERROR = "! "
|
||||
CHAR_SUCCESS = "* "
|
||||
CHAR_ELLIPSIES = "..."
|
||||
else:
|
||||
ANSI = True
|
||||
OFFSET = 0
|
||||
CHAR_SKIP = "#"
|
||||
CHAR_ERROR = "❌"
|
||||
CHAR_SUCCESS = "✔"
|
||||
CHAR_SKIP = "# "
|
||||
CHAR_ERROR = "❌ "
|
||||
CHAR_SUCCESS = "✔ "
|
||||
CHAR_ELLIPSIES = "…"
|
||||
|
Loading…
Reference in New Issue
Block a user