forked from lix-project/lix
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
|
@ -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