aboutsummaryrefslogtreecommitdiff
path: root/rust/src/bel.rs
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-09-17 23:57:46 +0200
committerTom Smeding <tom.smeding@gmail.com>2021-01-28 22:20:13 +0100
commit653c5d682fb23a57cb39255da0164636ddefb7ab (patch)
tree6e8fd948bfb9579a8215c0892b3c12c77bdf007b /rust/src/bel.rs
parentb453b8f7d510940da2fb3b5c1c88f8ba2caa2012 (diff)
rust: Proper authentication data generation
Diffstat (limited to 'rust/src/bel.rs')
-rw-r--r--rust/src/bel.rs6
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();
+}