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