mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-15 12:55:52 +00:00
- Modified postinstall script to extract authenticate-pam prebuilds when npm skips optional deps - Updated authenticate-pam-loader to load from optional-modules directory - Prepared beta.12 release with all fixes consolidated - Moved Docker test script to scripts folder - Updated documentation in npm.md
34 lines
1.1 KiB
TypeScript
34 lines
1.1 KiB
TypeScript
/**
|
|
* Simplified Windows terminal implementation without threading
|
|
* Removed ConoutSocketWorker and shared pipe architecture
|
|
*/
|
|
import { Socket } from 'net';
|
|
import { Terminal } from './terminal';
|
|
import { IPtyOpenOptions, IWindowsPtyForkOptions } from './interfaces';
|
|
import { ArgvOrCommandLine } from './types';
|
|
export declare class WindowsTerminal extends Terminal {
|
|
private _isReady;
|
|
protected _pid: number;
|
|
private _innerPid;
|
|
private _ptyNative;
|
|
protected _pty: number;
|
|
private _inSocket;
|
|
private _outSocket;
|
|
private _exitCode;
|
|
private _useConptyDll;
|
|
get master(): Socket | undefined;
|
|
get slave(): Socket | undefined;
|
|
constructor(file?: string, args?: ArgvOrCommandLine, opt?: IWindowsPtyForkOptions);
|
|
private _setupDirectSockets;
|
|
protected _write(data: string): void;
|
|
resize(cols: number, rows: number): void;
|
|
clear(): void;
|
|
kill(signal?: string): void;
|
|
protected _close(): void;
|
|
private _generatePipeName;
|
|
private _argsToCommandLine;
|
|
static open(options?: IPtyOpenOptions): void;
|
|
get process(): string;
|
|
get pid(): number;
|
|
destroy(): void;
|
|
}
|