lang-check: highlight truncated strings
This commit is contained in:
parent
7f9910ad28
commit
27d7edae10
@ -44,7 +44,7 @@ def print_truncated(text, cols):
|
||||
suffix = ''
|
||||
else:
|
||||
prefix = text[0:cols]
|
||||
suffix = text[cols:]
|
||||
suffix = color_maybe(31, text[cols:])
|
||||
print(' |' + prefix + '|' + suffix)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user