Fix test/lint
This commit is contained in:
@@ -132,10 +132,10 @@ describe('Terminal', () => {
|
|||||||
term.write('\x1b]2;title\x07');
|
term.write('\x1b]2;title\x07');
|
||||||
});
|
});
|
||||||
it('should fire the onBell event', (done) => {
|
it('should fire the onBell event', (done) => {
|
||||||
term.onBell(e => {
|
term.onBell(e => {
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
term.write('\a');
|
term.write('\x07');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -1155,7 +1155,7 @@ export class Terminal extends CoreTerminal implements ITerminal {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this._onBell.fire();
|
this._onBell.fire();
|
||||||
|
|
||||||
// if (this._visualBell()) {
|
// if (this._visualBell()) {
|
||||||
// this.element.classList.add('visual-bell-active');
|
// this.element.classList.add('visual-bell-active');
|
||||||
// clearTimeout(this._visualBellTimer);
|
// clearTimeout(this._visualBellTimer);
|
||||||
|
|||||||
Vendored
-1
@@ -357,7 +357,6 @@ export interface IAnsiColorChangeEvent {
|
|||||||
*/
|
*/
|
||||||
export interface IInputHandler {
|
export interface IInputHandler {
|
||||||
onTitleChange: IEvent<string>;
|
onTitleChange: IEvent<string>;
|
||||||
onRequestBell: IEvent<void>;
|
|
||||||
|
|
||||||
parse(data: string | Uint8Array, promiseResult?: boolean): void | Promise<boolean>;
|
parse(data: string | Uint8Array, promiseResult?: boolean): void | Promise<boolean>;
|
||||||
print(data: Uint32Array, start: number, end: number): void;
|
print(data: Uint32Array, start: number, end: number): void;
|
||||||
|
|||||||
Reference in New Issue
Block a user