add a space after status indicators
This commit is contained in:
@@ -69,7 +69,7 @@ class TerminalPrinter(Printer):
|
|||||||
self.width = shutil.get_terminal_size().columns - OFFSET
|
self.width = shutil.get_terminal_size().columns - OFFSET
|
||||||
|
|
||||||
def start(self, path):
|
def start(self, path):
|
||||||
safeprint(self.shorten(" " + path), end="", flush=True)
|
safeprint(self.shorten(" " + path), end="", flush=True)
|
||||||
|
|
||||||
def skip(self, path):
|
def skip(self, path):
|
||||||
safeprint(self.shorten(CHAR_SKIP + path))
|
safeprint(self.shorten(CHAR_SKIP + path))
|
||||||
@@ -116,14 +116,14 @@ class ColorPrinter(TerminalPrinter):
|
|||||||
if platform.system() == "Windows":
|
if platform.system() == "Windows":
|
||||||
ANSI = os.environ.get("TERM") == "ANSI"
|
ANSI = os.environ.get("TERM") == "ANSI"
|
||||||
OFFSET = 1
|
OFFSET = 1
|
||||||
CHAR_SKIP = "#"
|
CHAR_SKIP = "# "
|
||||||
CHAR_ERROR = "!"
|
CHAR_ERROR = "! "
|
||||||
CHAR_SUCCESS = "*"
|
CHAR_SUCCESS = "* "
|
||||||
CHAR_ELLIPSIES = "..."
|
CHAR_ELLIPSIES = "..."
|
||||||
else:
|
else:
|
||||||
ANSI = True
|
ANSI = True
|
||||||
OFFSET = 0
|
OFFSET = 0
|
||||||
CHAR_SKIP = "#"
|
CHAR_SKIP = "# "
|
||||||
CHAR_ERROR = "❌"
|
CHAR_ERROR = "❌ "
|
||||||
CHAR_SUCCESS = "✔"
|
CHAR_SUCCESS = "✔ "
|
||||||
CHAR_ELLIPSIES = "…"
|
CHAR_ELLIPSIES = "…"
|
||||||
|
|||||||
Reference in New Issue
Block a user