diff options
Diffstat (limited to 'rust/src/bel.rs')
-rw-r--r-- | rust/src/bel.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rust/src/bel.rs b/rust/src/bel.rs new file mode 100644 index 0000000..fec5a3c --- /dev/null +++ b/rust/src/bel.rs @@ -0,0 +1,6 @@ +use std::io::Write; + +pub fn bel() { + print!("\x07"); + std::io::stdout().flush().unwrap(); +} |