Skip to content

Commit 4046b5f

Browse files
committed
Update read docs
1 parent 5b178f4 commit 4046b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vscode-dts/vscode.proposed.terminalShellIntegration.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare module 'vscode' {
3535
* @example
3636
* // Log all data written to the terminal for a command
3737
* const command = term.shellIntegration.executeCommand({ commandLine: 'echo "Hello world"' });
38-
* const stream = command.readData();
38+
* const stream = command.read();
3939
* for await (const data of stream) {
4040
* console.log(data);
4141
* }

0 commit comments

Comments
 (0)