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 7125d38
Show file tree
Hide file tree
Showing 2 changed files with 6 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
7 changes: 5 additions & 2 deletions typings/node-pty.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/**
* Copyright (c) 2017, Daniel Imms (MIT License).
* Copyright (c) 2018, Microsoft Corporation (MIT License).
*/

declare module 'node-pty' {
Expand All @@ -26,8 +27,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 7125d38

Please sign in to comment.