@flowscripter/dynamic-cli-framework
    Preparing search index...

    Class TtyKeyReader

    Implements

    Index
    • Read raw input until isComplete returns true for the accumulated input or timeoutMs elapses. Raw mode and paused state are restored afterwards.

      Parameters

      • isComplete: (received: string) => boolean
      • timeoutMs: number

      Returns Promise<string>

      the accumulated input.