Disable BEL char by default when terminal attached (#2306)

This commit is contained in:
Amaro Martínez 2023-01-17 15:18:13 -05:00 committed by GitHub
commit 170b9c1224
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 17 additions and 10 deletions

View file

@ -32,4 +32,11 @@
#define VT_RST VT_SGR("")
#define VT_CLS VT_ED(2)
#ifdef USE_BELL
// ASCII BEL character, plays an alert tone
#define BEL '\a'
#else
#define BEL '\0'
#endif
#endif