From 27d7edae10ea4321c986ea1a84b57ae5d81843c0 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Fri, 23 Apr 2021 15:49:19 +0200 Subject: [PATCH] lang-check: highlight truncated strings --- lang/lang-check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/lang-check.py b/lang/lang-check.py index 056e13fe..4d08ba58 100755 --- a/lang/lang-check.py +++ b/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)