InitOpts: {
    cwd?: string;
    env?: Record<string, string>;
    onDisconnect?: (() => void);
} & ITerminalOptions