Skip to content

Commit

Permalink
Elaborate on experimentalUseConpty setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyriar committed Dec 21, 2018
1 parent 2d3c8de commit 5af3c17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export interface IPtyForkOptions {
uid?: number;
gid?: number;
encoding?: string;
experimentalUseConpty?: boolean;
experimentalUseConpty?: boolean | undefined;
}

export interface IPtyOpenOptions {
Expand Down
6 changes: 4 additions & 2 deletions typings/node-pty.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ declare module 'node-pty' {
gid?: number;
encoding?: string;
/**
* Whether to use the experimental ConPTY system on Windows. This setting will be ignored on
* non-Windows.
* Whether to use the experimental ConPTY system on Windows. When this is not set, ConPTY will
* be used when the Windows build number is >= 17692.
*
* This setting does nothing on non-Windows.
*/
experimentalUseConpty?: boolean;
}
Expand Down

0 comments on commit 5af3c17

Please sign in to comment.