Skip to content

Commit 27b078d

Browse files
committed
declare fix
1 parent b213620 commit 27b078d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/native.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
interface IConptyNative {
66
startProcess(file: string, cols: number, rows: number, debug: boolean, pipeName: string, conptyInheritCursor: boolean, useConptyDll: boolean,exePath: string): IConptyProcess;
7-
connect(ptyId: number, commandLine: string, cwd: string, env: string[], onExitCallback: (exitCode: number) => void): { pid: number };
7+
connect(ptyId: number, commandLine: string, cwd: string, env: string[], useConptyDll: boolean, onExitCallback: (exitCode: number) => void): { pid: number };
88
resize(ptyId: number, cols: number, rows: number, useConptyDll: boolean,exePath: string): void;
99
clear(ptyId: number, useConptyDll: boolean,exePath: string): void;
1010
kill(ptyId: number, useConptyDll: boolean,exePath: string): void;

src/windowsPtyAgent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export class WindowsPtyAgent {
196196
} else {
197197
// Close the input write handle to signal the end of session.
198198
this._inSocket.destroy();
199-
(this._ptyNative as IConptyNative).kill(this._pty, this._useConptyDll, exePath);
199+
(this._ptyNative as IConptyNative).kill(this._pty, this._useConptyDll, exePath);
200200
this._outSocket.on('data', () => {
201201
this._conoutSocketWorker.dispose();
202202
});

0 commit comments

Comments
 (0)