未验证 提交 1ef0aa12 编写于 作者: D Daniel Imms 提交者: GitHub

Fix old code in proposed API

上级 5710af72
......@@ -997,7 +997,7 @@ declare module 'vscode' {
* terminalRenderer.onDidAcceptInput(data => {
* console.log(data); // 'Hello world'
* });
* terminalRenderer.terminal.then(t => t.sendText('Hello world'));
* terminalRenderer.terminal.sendText('Hello world');
* ```
*/
readonly onDidAcceptInput: Event<string>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册