ringTerminalBell function
Rings the terminal bell through driver when it supports it; no-op
otherwise.
Implementation
void ringTerminalBell(TerminalDriver driver) {
if (driver is TerminalAttentionDriver) {
(driver as TerminalAttentionDriver).ringBell();
}
}