浏览代码

lang-check: highlight truncated strings

Yuri D'Elia 3 年之前
父节点
当前提交
27d7edae10
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)