#reuse terminal

1 messages ยท Page 1 of 1 (latest)

whole crane
#

On MacOS 26 I have the following error:

๐Ÿ› Terminal Blocks Sequential AI Commands

Problem: When AI executes multiple bash commands, the terminal blocks subsequent commands from returning output.

Steps:

  1. AI runs first command โ†’ Terminal opens โ†’ โœ… Works
  2. AI runs second command โ†’ Same terminal โ†’ โŒ No output
  3. Manually close terminal โ†’ AI runs command โ†’ โœ… Works in new terminal

Impact: Must manually close terminal between every AI command.

Example:

brew update โ†’ โœ… Output received
brew upgrade zig โ†’ โŒ No output (same terminal)
[Close terminal manually]
brew upgrade zig โ†’ โœ… Works (new terminal)

Expected: Terminal should auto-close or properly reuse for multiple commands.

Environment: macOS (Apple Silicon), zsh, Kiro Nov 2025

Suggested Fix: Add setting: "Auto-close AI command terminals"

Has anyone else experienced this? Full technical report available if needed.

toxic heath
#

same problem

austere flare
#

did you get PTY lost error, if so then it relates to huge output in terminal vs the configued limit by default a terminal can hold. While it might be the exact same issue you mentioned but i also faced same problem when it write heredoc and PTY connection terminates