MCPcopy Index your code
hub / github.com/endbasic/endbasic / beep

Method beep

terminal/src/lib.rs:443–450  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

441 }
442
443 async fn beep(&mut self) -> io::Result<()> {
444 let stdout = io::stdout();
445 let mut stdout = stdout.lock();
446 stdout.write_all(b"\x07")?;
447 stdout.flush()?;
448 thread::sleep(BEEP_TONE.duration);
449 Ok(())
450 }
451}
452
453#[cfg(test)]

Callers

nothing calls this directly

Calls 1

flushMethod · 0.45

Tested by

no test coverage detected