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
+5
View File
@@ -12,6 +12,11 @@ std::string Display::new_frame( bool initialized, const Framebuffer &last, const
char tmp[ 64 ];
/* has bell been rung? */
if ( f.get_bell_count() != frame.last_frame.get_bell_count() ) {
frame.append( "\x07" );
}
/* has window title changed? */
if ( (!initialized)
|| (f.get_window_title() != frame.last_frame.get_window_title()) ) {