Parcourir la source

lang-check: highlight truncated strings

Yuri D'Elia il y a 3 ans
Parent
commit
27d7edae10
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lang/lang-check.py

+ 1 - 1
lang/lang-check.py

@@ -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)