feat(event): introduce .bell system event
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 16m37s
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 16m37s
This commit is contained in:
@@ -54,6 +54,10 @@ pub fn disableMouseSupport() !void {
|
||||
_ = try posix.write(posix.STDIN_FILENO, ctlseqs.mouse_reset);
|
||||
}
|
||||
|
||||
pub fn ringBell() !void {
|
||||
_ = try posix.write(posix.STDIN_FILENO, &.{7});
|
||||
}
|
||||
|
||||
pub fn read(buf: []u8) !usize {
|
||||
return try posix.read(posix.STDIN_FILENO, buf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user