Commit f17c12b8 by willmcgugan

Fix to use ascii art when terminal colours is disabled

parent ba3932ac
......@@ -519,11 +519,11 @@ def print_fs(fs,
dircount = [0]
filecount = [0]
def print_dir(fs, path, levels=[]):
if file_encoding == 'UTF-8':
if file_encoding == 'UTF-8' and terminal_colors:
char_vertline = u'│'
char_newnode = u'├'
char_line = u'──'
char_corner = u''
char_corner = u''
else:
char_vertline = '|'
char_newnode = '|'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment