mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 17:32:41 +00:00
Merge pull request #209065 from microsoft/tyriar/208639
Remove details about sequences from shellIntegration API
This commit is contained in:
commit
a386ff325c
|
@ -21,10 +21,9 @@ declare module 'vscode' {
|
||||||
* - It may be undefined or the empty string until {@link onDidEndTerminalShellExecution} is
|
* - It may be undefined or the empty string until {@link onDidEndTerminalShellExecution} is
|
||||||
* fired.
|
* fired.
|
||||||
* - It may be inaccurate initially if the command line is pulled from the buffer directly
|
* - It may be inaccurate initially if the command line is pulled from the buffer directly
|
||||||
* via the [`OSC 633/133 ; A`, `B` and `C` sequences](https://code.visualstudio.com/docs/terminal/shell-integration#_vs-code-custom-sequences-osc-633-st).
|
* via the shell integration prompt markers.
|
||||||
* - It may contain line continuation characters and/or parts of the right prompt.
|
* - It may contain line continuation characters and/or parts of the right prompt.
|
||||||
* - It may be inaccurate if the shell integration does not support command line reporting
|
* - It may be inaccurate if the shell integration does not support command line reporting.
|
||||||
* via the [`OSC 633 ; E` sequence](https://code.visualstudio.com/docs/terminal/shell-integration#_vs-code-custom-sequences-osc-633-st).
|
|
||||||
*/
|
*/
|
||||||
readonly commandLine: string | undefined;
|
readonly commandLine: string | undefined;
|
||||||
|
|
||||||
|
@ -32,8 +31,7 @@ declare module 'vscode' {
|
||||||
* The working directory that was reported by the shell when this command executed. This
|
* The working directory that was reported by the shell when this command executed. This
|
||||||
* will be a {@link Uri} if the string reported by the shell can reliably be mapped to the
|
* will be a {@link Uri} if the string reported by the shell can reliably be mapped to the
|
||||||
* connected machine. This requires the shell integration to support working directory
|
* connected machine. This requires the shell integration to support working directory
|
||||||
* reporting via the [`OSC 633 ; P`](https://code.visualstudio.com/docs/terminal/shell-integration#_vs-code-custom-sequences-osc-633-st)
|
* reporting.
|
||||||
* or `OSC 1337 ; CurrentDir=<Cwd> ST` sequences.
|
|
||||||
*/
|
*/
|
||||||
readonly cwd: Uri | string | undefined;
|
readonly cwd: Uri | string | undefined;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue