I am using the latest version of Cursor on Windows. While in the new Agent Mode, I noticed that the “Add to Chat” button is missing from the terminal interface. This prevents me from easily adding terminal output or selected text as context to the agent.
I’m using PowerShell with the oh-my-posh plugin installed. In both scenarios you mentioned, the button does not appear. Additionally, using Ctrl+Shift+L fails to add the selected content to the chat.
Hey @sravasti, thanks for flagging this. A separate Mac case is helpful since the original thread was about Windows plus PowerShell with oh-my-posh.
A couple questions to narrow it down:
Cursor version Cursor > About?
Which shell zsh bash fish, and do you use a custom prompt like starship, oh-my-zsh, powerlevel10k, etc?
When exactly should the button show up but doesn’t, when selecting text, when hovering over the command block, or both?
How it works: in Glass the button is context-based. It shows up either when you select text, or when you hover a command output block. The second one needs working shell integration. Custom prompts sometimes break command block detection, and then the hover button won’t show.
We’re tracking the issue, no ETA for a fix yet. For now a workaround is Cmd+L or Cmd+I with text selected. I know it’s not the same as having the button, but it should unblock you.