I\'m having a really hard time understanding why is this piece of code making my computer beep. I\'ve isolated this section of code to be the one producing the occasional beep,
The buffer probably contains a '\a'
char which makes the computer beep. From 5.2.2 (Character display semantics) :
Alphabetic escape sequences representing nongraphic characters in the execution character set are intended to produce actions on display devices as follows:
- \a (alert) Produces an audible or visible alert without changing the active position.