SYMBOL INDEX (206 symbols across 29 files) FILE: examples/electron/main.js function createWindow (line 9) | function createWindow() { FILE: scripts/increment-version.js function getNextBetaVersion (line 23) | function getNextBetaVersion() { function getPublishedVersions (line 44) | function getPublishedVersions(version, tag) { FILE: scripts/linux/install-sysroot.js constant REPO_ROOT (line 12) | const REPO_ROOT = path.join(__dirname, '..', '..'); function getSysrootChecksum (line 29) | function getSysrootChecksum(expectedName) { function fetchUrl (line 41) | async function fetchUrl(options, retries = 10, retryDelay = 1000) { function getSysroot (line 93) | async function getSysroot(arch) { function main (line 141) | async function main() { FILE: scripts/post-install.js constant RELEASE_DIR (line 7) | const RELEASE_DIR = path.join(__dirname, '../build/Release'); constant BUILD_FILES (line 8) | const BUILD_FILES = [ constant CONPTY_DIR (line 17) | const CONPTY_DIR = path.join(__dirname, '../third_party/conpty'); constant CONPTY_SUPPORTED_ARCH (line 18) | const CONPTY_SUPPORTED_ARCH = ['x64', 'arm64']; function cleanFolderRecursive (line 23) | function cleanFolderRecursive(folder) { FILE: scripts/prebuild.js constant PREBUILDS_ROOT (line 17) | const PREBUILDS_ROOT = path.join(__dirname, '..', 'prebuilds'); constant PREBUILD_DIR (line 18) | const PREBUILD_DIR = path.join(__dirname, '..', 'prebuilds', `${process.... FILE: src/eventEmitter2.ts type IListener (line 7) | interface IListener { type IEvent (line 11) | interface IEvent { class EventEmitter2 (line 15) | class EventEmitter2 { method event (line 19) | public get event(): IEvent { method fire (line 39) | public fire(data: T): void { FILE: src/index.ts function spawn (line 30) | function spawn(file?: string, args?: ArgvOrCommandLine, opt?: IPtyForkOp... function fork (line 35) | function fork(file?: string, args?: ArgvOrCommandLine, opt?: IPtyForkOpt... function createTerminal (line 40) | function createTerminal(file?: string, args?: ArgvOrCommandLine, opt?: I... function open (line 44) | function open(options: IPtyOpenOptions): ITerminal { FILE: src/interfaces.ts type IProcessEnv (line 6) | interface IProcessEnv { type ITerminal (line 10) | interface ITerminal { type IBasePtyForkOptions (line 106) | interface IBasePtyForkOptions { type IPtyForkOptions (line 118) | interface IPtyForkOptions extends IBasePtyForkOptions { type IWindowsPtyForkOptions (line 123) | interface IWindowsPtyForkOptions extends IBasePtyForkOptions { type IPtyOpenOptions (line 137) | interface IPtyOpenOptions { FILE: src/native.d.ts type IConptyNative (line 5) | interface IConptyNative { type IUnixNative (line 13) | interface IUnixNative { type IConptyProcess (line 20) | interface IConptyProcess { type IUnixProcess (line 27) | interface IUnixProcess { type IUnixOpenProcess (line 33) | interface IUnixOpenProcess { FILE: src/shared/conout.ts type IWorkerData (line 5) | interface IWorkerData { type ConoutWorkerMessage (line 9) | const enum ConoutWorkerMessage { function getWorkerPipeName (line 13) | function getWorkerPipeName(conoutPipeName: string): string { FILE: src/terminal.test.ts constant SHELL (line 13) | const SHELL = (process.platform === 'win32') ? 'cmd.exe' : '/bin/bash'; class TestTerminal (line 22) | class TestTerminal extends Terminal { method checkType (line 23) | public checkType(name: string, value: T, type: string, allowArray: ... method _write (line 26) | protected _write(data: string | Buffer): void { method resize (line 29) | public resize(cols: number, rows: number): void { method clear (line 32) | public clear(): void { method destroy (line 35) | public destroy(): void { method kill (line 38) | public kill(signal?: string): void { method process (line 41) | public get process(): string { method master (line 44) | public get master(): Socket { method slave (line 47) | public get slave(): Socket { function stripEscapeSequences (line 117) | function stripEscapeSequences(data: string): string { FILE: src/terminal.ts constant DEFAULT_COLS (line 13) | const DEFAULT_COLS: number = 80; constant DEFAULT_ROWS (line 14) | const DEFAULT_ROWS: number = 24; constant FLOW_CONTROL_PAUSE (line 21) | const FLOW_CONTROL_PAUSE = '\x13'; constant FLOW_CONTROL_RESUME (line 22) | const FLOW_CONTROL_RESUME = '\x11'; method onData (line 44) | public get onData(): IEvent { return this._onData.event; } method onExit (line 46) | public get onExit(): IEvent { return this._onExit.event; } method pid (line 48) | public get pid(): number { return this._pid; } method cols (line 49) | public get cols(): number { return this._cols; } method rows (line 50) | public get rows(): number { return this._rows; } method constructor (line 52) | constructor(opt?: IPtyForkOptions) { method write (line 79) | public write(data: string | Buffer): void { method _forwardEvents (line 95) | protected _forwardEvents(): void { method _checkType (line 100) | protected _checkType(name: string, value: T | undefined, type: string... method end (line 120) | public end(data: string): void { method pipe (line 125) | public pipe(dest: any, options: any): any { method pause (line 130) | public pause(): Socket { method resume (line 135) | public resume(): Socket { method setEncoding (line 140) | public setEncoding(encoding: string | null): void { method addListener (line 149) | public addListener(eventName: string, listener: (...args: any[]) => any)... method on (line 150) | public on(eventName: string, listener: (...args: any[]) => any): void { method emit (line 158) | public emit(eventName: string, ...args: any[]): any { method listeners (line 165) | public listeners(eventName: string): Function[] { method removeListener (line 169) | public removeListener(eventName: string, listener: (...args: any[]) => a... method removeAllListeners (line 173) | public removeAllListeners(eventName: string): void { method once (line 177) | public once(eventName: string, listener: (...args: any[]) => any): void { method _close (line 190) | protected _close(): void { method _parseEnv (line 198) | protected _parseEnv(env: IProcessEnv): string[] { FILE: src/testUtils.test.ts function pollUntil (line 5) | function pollUntil(cb: () => boolean, timeout: number, interval: number)... FILE: src/types.ts type ArgvOrCommandLine (line 6) | type ArgvOrCommandLine = string[] | string; type IExitEvent (line 8) | interface IExitEvent { type IDisposable (line 13) | interface IDisposable { FILE: src/unix/pty.cc type ExitEvent (line 111) | struct ExitEvent { function SetCloseOnExec (line 117) | static int function pty_close_inherited_fds (line 131) | static void function SetupExitCallback (line 149) | void SetupExitCallback(Napi::Env env, Napi::Function cb, pid_t pid) { type termios (line 278) | struct termios type winsize (line 279) | struct winsize type DelBuf (line 285) | struct DelBuf { method DelBuf (line 287) | DelBuf(int len) : len(len) {} function PtyFork (line 297) | Napi::Value PtyFork(const Napi::CallbackInfo& info) { function PtyOpen (line 504) | Napi::Value PtyOpen(const Napi::CallbackInfo& info) { function PtyResize (line 545) | Napi::Value PtyResize(const Napi::CallbackInfo& info) { function PtyGetProc (line 586) | Napi::Value PtyGetProc(const Napi::CallbackInfo& info) { function pty_nonblock (line 626) | static int type kinfo_proc (line 703) | struct kinfo_proc function format_error (line 731) | static std::string format_error(const char* func, int err_code) { function pty_posix_spawn (line 737) | static void function init (line 867) | Napi::Object init(Napi::Env env, Napi::Object exports) { FILE: src/unix/spawn-helper.cc function main (line 6) | int main (int argc, char** argv) { FILE: src/unixTerminal.test.ts constant FIXTURES_PATH (line 16) | const FIXTURES_PATH = path.normalize(path.join(__dirname, '..', 'fixture... FILE: src/unixTerminal.ts constant DEFAULT_FILE (line 22) | const DEFAULT_FILE = 'sh'; constant DEFAULT_NAME (line 23) | const DEFAULT_NAME = 'xterm'; constant DESTROY_SOCKET_TIMEOUT_MS (line 24) | const DESTROY_SOCKET_TIMEOUT_MS = 200; class UnixTerminal (line 26) | class UnixTerminal extends Terminal { method master (line 44) | public get master(): net.Socket | undefined { return this._master; } method slave (line 45) | public get slave(): net.Socket | undefined { return this._slave; } method constructor (line 47) | constructor(file?: string, args?: ArgvOrCommandLine, opt?: IPtyForkOpt... method _write (line 169) | protected _write(data: string | Buffer): void { method fd (line 174) | get fd(): number { return this._fd; } method ptsName (line 175) | get ptsName(): string { return this._pty; } method open (line 181) | public static open(opt: IPtyOpenOptions): UnixTerminal { method destroy (line 236) | public destroy(): void { method kill (line 249) | public kill(signal?: string): void { method process (line 258) | public get process(): string { method resize (line 271) | public resize(cols: number, rows: number, pixelSize?: { width: number,... method clear (line 282) | public clear(): void { method _sanitizeEnv (line 286) | private _sanitizeEnv(env: IProcessEnv): void { type IWriteTask (line 304) | interface IWriteTask { class CustomWriteStream (line 316) | class CustomWriteStream implements IDisposable { method constructor (line 321) | constructor( method dispose (line 327) | dispose(): void { method write (line 332) | write(data: string | Buffer): void { method _processWriteQueue (line 347) | private _processWriteQueue(): void { FILE: src/utils.ts function assign (line 6) | function assign(target: any, ...sources: any[]): any { function loadNativeModule (line 12) | function loadNativeModule(name: string): {dir: string, module: any} { FILE: src/win/conpty.cc type pty_baton (line 41) | struct pty_baton { method pty_baton (line 49) | pty_baton(int _id, HANDLE _hIn, HANDLE _hOut, HPCON _hpc) : id(_id), h... function pty_baton (line 55) | static pty_baton* get_pty_baton(int id) { method pty_baton (line 49) | pty_baton(int _id, HANDLE _hIn, HANDLE _hOut, HPCON _hpc) : id(_id), h... function remove_pty_baton (line 65) | static bool remove_pty_baton(int id) { type ExitEvent (line 76) | struct ExitEvent { function SetupExitCallback (line 80) | void SetupExitCallback(Napi::Env env, Napi::Function cb, pty_baton* bato... function errorWithCode (line 128) | Napi::Error errorWithCode(const Napi::CallbackInfo& info, const char* te... function createDataServerPipe (line 136) | bool createDataServerPipe(bool write, function HANDLE (line 164) | HANDLE LoadConptyDll(const Napi::CallbackInfo& info, function HRESULT (line 191) | HRESULT CreateNamedPipesAndPseudoConsole(const Napi::CallbackInfo& info, function PtyStartProcess (line 244) | static Napi::Value PtyStartProcess(const Napi::CallbackInfo& info) { function PtyConnect (line 324) | static Napi::Value PtyConnect(const Napi::CallbackInfo& info) { function PtyResize (line 457) | static Napi::Value PtyResize(const Napi::CallbackInfo& info) { function PtyClear (line 495) | static Napi::Value PtyClear(const Napi::CallbackInfo& info) { function PtyKill (line 533) | static Napi::Value PtyKill(const Napi::CallbackInfo& info) { function init (line 573) | Napi::Object init(Napi::Env env, Napi::Object exports) { FILE: src/win/conpty_console_list.cc function ApiConsoleProcessList (line 9) | static Napi::Value ApiConsoleProcessList(const Napi::CallbackInfo& info) { function init (line 39) | Napi::Object init(Napi::Env env, Napi::Object exports) { FILE: src/win/path_util.cc type path_util (line 12) | namespace path_util { function to_wstring (line 14) | std::wstring to_wstring(const Napi::String& str) { function wstring_to_string (line 19) | std::string wstring_to_string(const std::wstring &wide_string) { function file_exists (line 45) | bool file_exists(std::wstring filename) { function get_shell_path (line 54) | std::wstring get_shell_path(std::wstring filename) { FILE: src/win/path_util.h function namespace (line 16) | namespace path_util { FILE: src/windowsConoutConnection.ts constant FLUSH_DATA_INTERVAL (line 17) | const FLUSH_DATA_INTERVAL = 1000; class ConoutConnection (line 31) | class ConoutConnection implements IDisposable { method onReady (line 37) | public get onReady(): IEvent { return this._onReady.event; } method constructor (line 39) | constructor( method dispose (line 59) | dispose(): void { method connectSocket (line 68) | connectSocket(socket: Socket): void { method _drainDataAndClose (line 72) | private _drainDataAndClose(): void { method _destroySocket (line 79) | private async _destroySocket(): Promise { FILE: src/windowsPtyAgent.test.ts function check (line 9) | function check(file: string, args: string | string[], expected: string):... FILE: src/windowsPtyAgent.ts constant FLUSH_DATA_INTERVAL (line 22) | const FLUSH_DATA_INTERVAL = 1000; class WindowsPtyAgent (line 27) | class WindowsPtyAgent { method inSocket (line 39) | public get inSocket(): Socket { return this._inSocket; } method outSocket (line 40) | public get outSocket(): Socket { return this._outSocket; } method fd (line 41) | public get fd(): any { return this._fd; } method innerPid (line 42) | public get innerPid(): number { return this._innerPid; } method pty (line 43) | public get pty(): number { return this._pty; } method constructor (line 47) | constructor( method _completePtyConnection (line 120) | private _completePtyConnection(): void { method resize (line 131) | public resize(cols: number, rows: number): void { method clear (line 138) | public clear(): void { method kill (line 142) | public kill(): void { method _getConsoleProcessList (line 171) | private _getConsoleProcessList(): Promise { method exitCode (line 189) | public get exitCode(): number | undefined { method _generatePipeName (line 193) | private _generatePipeName(): string { method _$onProcessExit (line 200) | private _$onProcessExit(exitCode: number): void { method _flushDataAndCleanUp (line 208) | private _flushDataAndCleanUp(): void { method _cleanUpProcess (line 218) | private _cleanUpProcess(): void { function argsToCommandLine (line 231) | function argsToCommandLine(file: string, args: ArgvOrCommandLine): string { function isCommandLine (line 283) | function isCommandLine(args: ArgvOrCommandLine): args is string { function repeatText (line 287) | function repeatText(text: string, count: number): string { function xOr (line 295) | function xOr(arg1: boolean, arg2: boolean): boolean { FILE: src/windowsTerminal.test.ts type IProcessState (line 12) | interface IProcessState { type IWindowsProcessTreeResult (line 17) | interface IWindowsProcessTreeResult { function pollForProcessState (line 22) | function pollForProcessState(desiredState: IProcessState, intervalMs: nu... function pollForProcessTreeSize (line 60) | function pollForProcessTreeSize(pid: number, size: number, intervalMs: n... FILE: src/windowsTerminal.ts constant DEFAULT_FILE (line 14) | const DEFAULT_FILE = 'cmd.exe'; constant DEFAULT_NAME (line 15) | const DEFAULT_NAME = 'Windows Shell'; class WindowsTerminal (line 17) | class WindowsTerminal extends Terminal { method constructor (line 22) | constructor(file?: string, args?: ArgvOrCommandLine, opt?: IWindowsPty... method _write (line 123) | protected _write(data: string | Buffer): void { method _doWrite (line 127) | private _doWrite(data: string | Buffer): void { method open (line 135) | public static open(options?: IPtyOpenOptions): void { method resize (line 143) | public resize(cols: number, rows: number, pixelSize?: { width: number,... method clear (line 154) | public clear(): void { method destroy (line 160) | public destroy(): void { method kill (line 166) | public kill(signal?: string): void { method _deferNoArgs (line 176) | private _deferNoArgs(deferredFn: () => void): void { method _defer (line 189) | private _defer(deferredFn: (arg: A) => void, arg: A): void { method process (line 202) | public get process(): string { return this._name; } method master (line 203) | public get master(): Socket { throw new Error('master is not supported... method slave (line 204) | public get slave(): Socket { throw new Error('slave is not supported o... FILE: typings/node-pty.d.ts type IBasePtyForkOptions (line 20) | interface IBasePtyForkOptions { type IPtyForkOptions (line 79) | interface IPtyForkOptions extends IBasePtyForkOptions { type IWindowsPtyForkOptions (line 88) | interface IWindowsPtyForkOptions extends IBasePtyForkOptions { type IPty (line 117) | interface IPty { type IDisposable (line 204) | interface IDisposable { type IEvent (line 212) | interface IEvent {