mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
feat: disable interactive shell in Forever Mode
Interactive shell (PTY) is unnecessary in long-running Forever Mode sessions and can cause hangs. Force-disable it when isForeverMode is true.
This commit is contained in:
@@ -2621,6 +2621,7 @@ export class Config implements McpContext {
|
||||
}
|
||||
|
||||
isInteractiveShellEnabled(): boolean {
|
||||
if (this.isForeverMode) return false;
|
||||
return (
|
||||
this.interactive &&
|
||||
this.ptyInfo !== 'child_process' &&
|
||||
|
||||
Reference in New Issue
Block a user