mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 00:06:16 +02:00
filterANSIEscapes: Ignore BEL character
GCC is not as good at music as it seems to think it is. Fixes #4546. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
9087fe0760
commit
b5cd3e2d5c
1 changed files with 1 additions and 1 deletions
|
@ -1412,7 +1412,7 @@ std::string filterANSIEscapes(const std::string & s, bool filterAll, unsigned in
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (*i == '\r')
|
else if (*i == '\r' || *i == '\a')
|
||||||
// do nothing for now
|
// do nothing for now
|
||||||
i++;
|
i++;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue