@prover-coder-ai/docker-git 1.0.33 → 1.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11293,21 +11293,26 @@ const TuiApp = () => {
11293
11293
  });
11294
11294
  };
11295
11295
  const runMenu = pipe(
11296
- Effect.sync(() => {
11297
- resumeTui();
11298
- }),
11299
- Effect.zipRight(
11300
- Effect.tryPromise({
11301
- try: () => render(React.createElement(TuiApp)).waitUntilExit(),
11302
- catch: (error) => new InputReadError({ message: error instanceof Error ? error.message : String(error) })
11303
- })
11304
- ),
11305
- Effect.ensuring(
11306
- Effect.sync(() => {
11307
- leaveTui();
11308
- })
11309
- ),
11310
- Effect.asVoid
11296
+ Effect.sync(() => process.stdin.isTTY && typeof process.stdin.setRawMode === "function"),
11297
+ Effect.flatMap(
11298
+ (hasTty) => hasTty ? pipe(
11299
+ Effect.sync(() => {
11300
+ resumeTui();
11301
+ }),
11302
+ Effect.zipRight(
11303
+ Effect.tryPromise({
11304
+ try: () => render(React.createElement(TuiApp)).waitUntilExit(),
11305
+ catch: (error) => new InputReadError({ message: error instanceof Error ? error.message : String(error) })
11306
+ })
11307
+ ),
11308
+ Effect.ensuring(
11309
+ Effect.sync(() => {
11310
+ leaveTui();
11311
+ })
11312
+ ),
11313
+ Effect.asVoid
11314
+ ) : Effect.ignore(listProjectStatus)
11315
+ )
11311
11316
  );
11312
11317
  const isParseError = (error) => error._tag === "UnknownCommand" || error._tag === "UnknownOption" || error._tag === "MissingOptionValue" || error._tag === "MissingRequiredOption" || error._tag === "InvalidOption" || error._tag === "UnexpectedArgument";
11313
11318
  const setExitCode = (code) => Effect.sync(() => {