From 188c3652d444f841073128f4e65662150d683b90 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Tue, 2 Jul 2019 11:16:17 -0700 Subject: [PATCH] doc polish --- src/vs/vscode.proposed.d.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/vs/vscode.proposed.d.ts b/src/vs/vscode.proposed.d.ts index 92e842dc78c..042ac65a4bd 100644 --- a/src/vs/vscode.proposed.d.ts +++ b/src/vs/vscode.proposed.d.ts @@ -1342,8 +1342,10 @@ declare module 'vscode' { /** * Implement to handle keystrokes in the terminal or when an extension calls - * [Terminal.sendText](#Terminal.sendText). Keystrokes are converted into theircorresponding - * VT sequence representation. + * [Terminal.sendText](#Terminal.sendText). Keystrokes are converted into their + * corresponding VT sequence representation. + * + * @param data The sent data. * * **Example:** Echo input in the terminal. The sequence for enter (`\r`) is translated to * CRLF to go to a new line and move the cursor to the start of the line. @@ -1356,7 +1358,7 @@ declare module 'vscode' { * vscode.window.createTerminal({ name: 'Local echo', virtualProcess }); * ``` */ - onDidAcceptInput?(text: string): void; + onDidAcceptInput?(data: string): void; /** * Implement to handle when the number of rows and columns that fit into the terminal panel -- GitLab