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
parent 1e7cf8858f
commit 170b9c1224
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