diff options
| author | matt korwel <[email protected]> | 2025-07-05 08:27:22 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-05 15:27:22 +0000 |
| commit | 4963a1eea8bd88530daa7fec1c1f04a12d2f46a4 (patch) | |
| tree | 7ec809d8d2223aadba2ddfc090ce215def18e327 /packages/cli/src/gemini.tsx | |
| parent | ab96676e360b57cb5467826793288d4d6e003d60 (diff) | |
Mk nohup (#3285)
Diffstat (limited to 'packages/cli/src/gemini.tsx')
| -rw-r--r-- | packages/cli/src/gemini.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/cli/src/gemini.tsx b/packages/cli/src/gemini.tsx index 9ad481fc..7bd062ac 100644 --- a/packages/cli/src/gemini.tsx +++ b/packages/cli/src/gemini.tsx @@ -184,7 +184,7 @@ export async function main() { } // If not a TTY, read from stdin // This is for cases where the user pipes input directly into the command - if (!process.stdin.isTTY) { + if (!process.stdin.isTTY && !input) { input += await readStdin(); } if (!input) { |
