mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
...
This commit is contained in:
parent
923b04d124
commit
ef2713a5bd
1 changed files with 1 additions and 0 deletions
|
|
@ -1820,6 +1820,7 @@ ring_audio_bell(OSWindow *w) {
|
|||
if (last_bell_at >= 0 && now - last_bell_at <= ms_to_monotonic_t(100ll)) return;
|
||||
last_bell_at = now;
|
||||
#ifdef __APPLE__
|
||||
(void)w;
|
||||
cocoa_system_beep(OPT(bell_path));
|
||||
#else
|
||||
if (OPT(bell_path)) play_canberra_sound(OPT(bell_path), "kitty bell", true, "event", OPT(bell_theme));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue