diff --git a/src/InputHandler.ts b/src/InputHandler.ts index 4b633e7d..6ee081d2 100644 --- a/src/InputHandler.ts +++ b/src/InputHandler.ts @@ -108,8 +108,8 @@ export class InputHandler implements IInputHandler { */ public bell(): void { this._terminal.emit('bell'); - if (this._terminal.playDefaultBell) { - (new Audio(Bell)).play(); + if (this._terminal.bellSound) { + this._terminal.bellAudioElement.play(); } if (!this._terminal.visualBell) { return;