add a space after status indicators

pull/13/head
Mike Fährmann 9 years ago
parent b2401542eb
commit 810aa4e146
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -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…
Cancel
Save