Implement terminal bell

This commit is contained in:
Keith Winstein
2012-01-31 17:53:20 -05:00
parent 24653462ce
commit cdf4c6b4b3
4 changed files with 16 additions and 5 deletions
+4 -3
View File
@@ -303,9 +303,10 @@ void CSI_DECSTBM( Framebuffer *fb, Dispatcher *dispatch )
static Function func_CSI_DECSTMB( CSI, "r", CSI_DECSTBM );
/* terminal bell -- ignored for now */
void Ctrl_BEL( Framebuffer *fb __attribute((unused)), Dispatcher *dispatch __attribute((unused)) )
{}
/* terminal bell */
void Ctrl_BEL( Framebuffer *fb, Dispatcher *dispatch __attribute((unused)) ) {
fb->ring_bell();
}
static Function func_Ctrl_BEL( CONTROL, "\x07", Ctrl_BEL );