Skip to content

Commit 3d29357

Browse files
committed
Fix test/lint
1 parent 9143cf4 commit 3d29357

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/browser/Terminal.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ describe('Terminal', () => {
132132
term.write('\x1b]2;title\x07');
133133
});
134134
it('should fire the onBell event', (done) => {
135-
term.onBell(e => {
135+
term.onBell(e => {
136136
done();
137137
});
138-
term.write('\a');
138+
term.write('\x07');
139139
});
140140
});
141141

src/browser/Terminal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ export class Terminal extends CoreTerminal implements ITerminal {
11551155
}
11561156

11571157
this._onBell.fire();
1158-
1158+
11591159
// if (this._visualBell()) {
11601160
// this.element.classList.add('visual-bell-active');
11611161
// clearTimeout(this._visualBellTimer);

src/common/Types.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,6 @@ export interface IAnsiColorChangeEvent {
357357
*/
358358
export interface IInputHandler {
359359
onTitleChange: IEvent<string>;
360-
onRequestBell: IEvent<void>;
361360

362361
parse(data: string | Uint8Array, promiseResult?: boolean): void | Promise<boolean>;
363362
print(data: Uint32Array, start: number, end: number): void;

0 commit comments

Comments
 (0)