提交 72d9c5f8 编写于 作者: D Daniel Imms 提交者: Johannes Rieken

Explain change to terminal API coming in v1.6

Part of #11384
上级 b167ef97
......@@ -3003,7 +3003,9 @@ declare namespace vscode {
/**
* Send text to the terminal. The text is written to the stdin of the underlying pty process
* (shell) of the terminal.
* (shell) of the terminal. Note that this will currently force the terminal panel to the
* foreground, this is changing in v1.6 such that it will require an explicit call to
* [Terminal.show](#Terminal.show) in order to show the terminal panel.
*
* @param text The text to send.
* @param addNewLine Whether to add a new line to the text being sent, this is normally
......@@ -3490,7 +3492,9 @@ declare namespace vscode {
export function createStatusBarItem(alignment?: StatusBarAlignment, priority?: number): StatusBarItem;
/**
* Creates a [Terminal](#Terminal).
* Creates a [Terminal](#Terminal). Note that this will currently force the terminal panel
* to the foreground, this is changing in v1.6 such that it will require an explicit call to
* [Terminal.show](#Terminal.show) in order to show the terminal panel.
*
* @param name Optional human-readable string which will be used to represent the terminal in the UI.
* @return A new Terminal.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册