Chat sucked in heredoc>

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

as the title, the chat sucked while cursor doing some doc work.

Steps to Reproduce

ask cursor do some design work.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.44 (Universal)
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.4.0

For AI issues: which model did you use?

auto

Additional Information

the chat sucked while echo for cat some words to a file like:

touch docs/todo/009-macos-file-search-implementation.md && echo “# TODO-009: macOS 文件快速搜索功能实现” > docs/todo/009-macos-file-search-implementation.md

heredoc> touch docs/todo/009-macos-file-search-implementation.md && echo “# TODO-009: macOS 文件快速搜索功能实现” > docs/todo/009-macos-file-search-implementation.md
heredoc>

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report.

It looks like the Agent terminal got stuck at a heredoc prompt. This usually happens when the shell interprets quotes or special characters in a way that keeps it waiting for more input.

Could you clarify:

  • Which shell are you using (zsh, bash, or something else)?
  • Can you reproduce this consistently, or was it a one-time thing?
  • The request ID from that chat (Chat context menu in the top-right corner > Copy request ID)

Also, does pressing Ctrl+C in the terminal help cancel the stuck command so you can keep working?