As composer wraps up its reply, it can hijack the text cursor away from your terminal, or wherever you were typing.
If you happen to be backspacing at the moment, the backspaces suddenly are focused on Composer change blocks… and start erasing entire blocks of Composer code!
Ctrl Z undoes these, but you have no clue how many blocks you accidentally erased, so it’s not clear when to stop Ctrl-Z’ing. It puts you into a very uncertain state of code as well.
Sudden focus switching has been a problem for me since I started using Cursor, very frustrating for me.
3 Likes
Thanks Michael for posting about this issue.
This is extremely annoying and disruptive to my workflow as well. Often chat activities take a while during agent operations so as I’m typing into my terminal Cursor will finish up what it’s doing, steal focus silently with a command to run and I sometimes hit enter to run the command without knowing it. This can be dangerous if it proposes a destructive command so having to constantly leak attention to monitor the agent progress takes a huge toll on my ability to work smoothly.
Cursor Team, please fix this or help us figure out how to disable if possible!
I just found this option. It’s is a moderately workable solution to at least be immediately aware when focus is hijacked. It would be much more civilized to be able to prevent Cursor from ever hijacking focus away from my terminal though.
1 Like
I hope I’m not wrong here but it looks like a recent Cursor update may have solved the focus hijacking issue for my workflow. I think it happened sometime during the last week or two. I was ooo for about a week so not exactly sure which update may have addressed this. Hope others here have seen an improvement too. I think this came along around the time they released the change that “pulses” the border around the current staged command to run in the chat interface to indicate to the user that it’s ready for their input. Cmd-i then works to focus on the chat as normal and allows keyboard input to respond to the command request.