From a3015db6c388d1b62064e10bac77d4abe2a457ef Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 25 Aug 2017 15:44:15 +0200 Subject: [PATCH] Typo --- src/libutil/util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libutil/util.cc b/src/libutil/util.cc index c2bceea3d..b7b32b3d3 100644 --- a/src/libutil/util.cc +++ b/src/libutil/util.cc @@ -1171,7 +1171,7 @@ string filterANSIEscapes(const string & s, bool nixOnly) } } else { r += c; - if (c >= 0x40 && c != 0x7e) { + if (c >= 0x40 && c <= 0x7e) { if (nixOnly && (c != 'p' && c != 'q' && c != 's' && c != 'a' && c != 'b')) t += r; state = stTop;