Adress feedback

This commit is contained in:
Bruno Ribeito
2017-11-07 21:08:21 +00:00
parent 923bb05b8d
commit fc7cf6b917
3 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -218,7 +218,7 @@ declare module 'xterm' {
* @param type The type of the event.
* @param listener The listener.
*/
on(type: 'blur' | 'focus' | 'lineFeed', listener: () => void): void;
on(type: 'blur' | 'focus' | 'lineFeed' | 'selection', listener: () => void): void;
/**
* Registers an event listener.
* @param type The type of the event.
@@ -273,7 +273,7 @@ declare module 'xterm' {
* @param type The type of the event.
* @param listener The listener.
*/
off(type: 'blur' | 'focus' | 'lineFeed' | 'data' | 'key' | 'keypress' | 'keydown' | 'refresh' | 'resize' | 'scroll' | 'title' | string, listener: (...args: any[]) => void): void;
off(type: 'blur' | 'focus' | 'lineFeed' | 'selection' | 'data' | 'key' | 'keypress' | 'keydown' | 'refresh' | 'resize' | 'scroll' | 'title' | string, listener: (...args: any[]) => void): void;
/**
* Resizes the terminal.