Fix bad merge

This commit is contained in:
npezza93
2017-08-16 20:39:28 -04:00
parent 3beb1f5c7c
commit 1d6f71d680
4 changed files with 8 additions and 15 deletions
+1 -12
View File
@@ -107,18 +107,7 @@ export class InputHandler implements IInputHandler {
* Bell (Ctrl-G).
*/
public bell(): void {
this._terminal.emit('bell');
if (this._terminal.bellSound) {
this._terminal.bellAudioElement.play();
}
if (!this._terminal.visualBell) {
return;
}
this._terminal.element.style.borderColor = 'white';
setTimeout(() => this._terminal.element.style.borderColor = '', 10);
if (this._terminal.options.popOnBell) {
this._terminal.focus();
}
this._terminal.bell();
}
/**