Fix linter errors (hopefully)

This commit is contained in:
arencoskun
2024-02-01 16:05:02 +03:00
parent cae42772e8
commit c51a0b7454
+7 -5
View File
@@ -962,14 +962,16 @@ declare module '@xterm/xterm' {
* Focus the terminal. * Focus the terminal.
*/ */
focus(): void; focus(): void;
/** /**
* Input data to application side. * Input data to application side.
* The data is treated the same way as typed input at the terminal (will appear in the onData event). * The data is treated the same way as typed input at the terminal
* (will appear in the onData event).
* wasUserInput indicates, whether the input is genuine user input. * wasUserInput indicates, whether the input is genuine user input.
* It is true by default and triggers additional actions like prompt focus or selection clearing. * It is true by default and triggers additional actions like prompt
* Set it to false if your data sent does not resemble what a user would have typed * focus or selection clearing.
* (e.g. sequence embedded data). * Set it to false if your data sent does not resemble
* what a user would have typed (e.g. sequence embedded data).
*/ */
input(data: string, wasUserInput?: boolean): void; input(data: string, wasUserInput?: boolean): void;