Skip to content

Commit

Permalink
print ding when the bell is rung
Browse files Browse the repository at this point in the history
refs: #3
  • Loading branch information
wez committed Feb 28, 2018
1 parent 27ab1b6 commit 045abee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions term/src/terminalstate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1174,6 +1174,7 @@ impl<'a> vte::Perform for Performer<'a> {
self.set_cursor_pos(&Position::Relative(-1), &Position::Relative(0));
}
b'\t' => self.c0_horizontal_tab(),
b'\x07' => eprintln!("Ding! (this is the bell"),
_ => println!("unhandled vte execute {}", byte),
}
}
Expand Down

0 comments on commit 045abee

Please sign in to comment.