tell me how in the chat when pressing enter there was a new line and not sending a request
Hey, to move to a new line, try the shortcut Shift + Enter.
The justification given for this is usually that “This is chat app behavior” … but no, that is a lie. IRC and AIM and all the others had a SEND key that sent the message in addition to Enter. Facebook started using the enter key to send … probably because they wanted people to send more messages, or keep the messages short.
It’s totally inappropriate and bad form in a code editor where you are using the enter key every time you type a new line of code, then you go over to the assistant, and you have to stop and question if you are about to press the wrong key. Forget writing a bullet list!
It’s sort of ironic that the editor I’m typing this message in rn seems to understand the right behavior.
indeed. newline is more frequently used while sending request not. It’s obviously a bad design
exactly, I often rush to click “Cancel” because I mistakenly press the Enter key, as I think it will consume my token quota in a flash
Cursor Agent “Chat” is not a back-and-forth chat with a friend. Often I need to describe what I want to do in much detail so that the agent gets exactly what I need, with enough context. I have to type out a full essay prompt for that, and having to Shift-Enter every new line is a waste of energy. Please give a Cursor Settings option to change from default:
- Enter to send, Shift-Enter for newline.
to the desired:
- Enter AND Shift-Enter for new line.
- Cmd-Enter (Mac)/Ctrl-Enter (Windows) to send.
NOTE: The reason Shift-Enter should not send is because we’re used to the default behavior and the last thing we want is for our “let me insert a new line Shift-Enter” muscle memory to start sending messages which aren’t ready yet.
I guess the only workaround right now is in Editor mode to create a new temporary tab to type out your prompt, then copy-paste it. The problem is, attaching files or other references can only be done effectively after pasting it in the agent chat.
