mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 19:42:42 +01:00
UI: Apply ANSI styles to import task path string
This commit is contained in:
parent
d70802286c
commit
e9caa7a6f7
1 changed files with 5 additions and 2 deletions
|
|
@ -689,8 +689,11 @@ class TerminalImportSession(importer.ImportSession):
|
|||
"""
|
||||
# Show what we're tagging.
|
||||
print_()
|
||||
print_(displayable_path(task.paths, u'\n') +
|
||||
u' ({0} items)'.format(len(task.items)))
|
||||
path_str0 = displayable_path(task.paths, u'\n')
|
||||
path_str = ui.colorize('import_path', path_str0)
|
||||
items_str0 = u'({0} items)'.format(len(task.items))
|
||||
items_str = ui.colorize('import_path_items', items_str0)
|
||||
print_(' '.join([path_str, items_str]))
|
||||
|
||||
# Take immediate action if appropriate.
|
||||
action = _summary_judment(task.rec)
|
||||
|
|
|
|||
Loading…
Reference in a new issue