Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
omni-code / tui / dist / components / Terminal.d.ts
Size: Mime:
import React from "react";
type Props = {
    /** Command to run, e.g. ["bash"] or ["ssh", "user@host"] */
    command: string[];
    /** Environment variables to pass */
    env?: Record<string, string>;
    /** Working directory */
    cwd?: string;
    /** Cols/rows override (otherwise uses available space) */
    cols?: number;
    rows?: number;
    /** Called when the PTY process exits */
    onExit?: (code: number) => void;
    /** Whether this terminal is focused and receives input */
    focused?: boolean;
    /** Called when the user presses Ctrl-o to release focus back to the parent */
    onFocusRequest?: () => void;
};
export declare function Terminal({ command, env, cwd, cols: colsProp, rows: rowsProp, onExit, focused, onFocusRequest, }: Props): React.JSX.Element;
export {};
//# sourceMappingURL=Terminal.d.ts.map