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
|
||||
i++;
|
||||
|
||||
|
|
Loading…
Reference in a new issue