diff options
-rw-r--r-- | src/libutil/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc index c2bceea3d9d0..b7b32b3d384e 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; |