When you use, say, Messenger at facebook.com, pressing the Enter key sends your message without fail. But the ChatGPT website is a bit more capricious. Resize your browser window to the wrong dimensions, and you lose the ability to submit your prompts via Enter (unless you simultaneously press Control/Command, which takes some getting used to); instead, you have to click the submit button with the upward pointing arrow on it, which can be a hassle. If you're curious at what window width the submit-on-Enter feature is disabled, here's what I've found.
At first I just eyeballed it, using my MacBook's screenshot tool (Shift-Command-5). The crucial change seemed to occur at a width somewhere between 768 and 770 pixels. But to get a more precise measurement, I opened the Elements panel (Option-Command-C) in Chrome DevTools to inspect the width of the If you use ChatGPT in Chrome, the Enter Key For ChatGPT extension works like a charm, up to a point. It enables you to submit any new prompt using Enter, whatever your browser window's dimensions. But should you ever feel the need to edit an old prompt and resend it, your only options are to manually click Send or use the clunky Ctrl/Cmd + Enter key combo. I view this as a limitation—an inconvenience at best, an efficiency killer at worst. Granted, the limitation exists regardless of the browser window's width, with or without the extension; my guess is it's a feature rather than a bug, predicated on the (questionable) assumption that the user expects the Enter key to add a line break, not to trigger submission, while they're editing a message. The only difference the extension makes is that it precludes your adding line breaks with Enter alone, as opposed to Shift + Enter. I don't think there's anything wrong with that. In fact, that's the way it works when you edit messages at facebook.com; what's more, edits are submitted on Enter there. If anything, that's probably the behavior users of instant messaging services have come to expect. I'm going to see if I can't write a program to overcome the aforementioned limitation. I know that browser extensions often add functionality to websites by injecting code into them, but I don't have experience with injecting my own code into a site whose source code is unavailable to me. It's high time I acquainted myself with the nuts and bolts of that process. I'll keep you updated. Not to be confused with a paragraph break. ↩ and
elements as I resized the window: 768px. At any width less than or equal to this, rather than submitting your query to GPT, the Enter key adds a newline, or line break,1 to the query. If you shrink the window just a single pixel further to a width of 767px, and proceed to open the left-hand sidebar, which contains the list of your past chats, then the sidebar overlaps the text input field. The current chat goes dark as well. Once that happens, you can't submit prompts at all, let alone by pressing Enter (though that's fine of course). Something tells me these two width-dependent factors are related: the sidebar's encroaching on the chat at small widths, and the loss of the submit-on-Enter option.