Shift+Enter not working on Mac
What happened?
The /help menu says that Shift+Enter should result in a new line, but it does not work and just submits the prompt.
What did you expect to happen?
Shift+Enter should result in a new line.
Client information
CLI Version 0.1.7 │
│ Git Commit 55cc809 │
│ Model gemini-2.5-pro │
│ Sandbox no sandbox │
│ OS darwin │
│ Auth Method OAuth
Login information
Google Account
Anything else we need to know?
No response
Sorry about this, this may be a documentation thing. Right now, option-enter should work on mac terminal, and you can also escape newlines with a \
@bbiggs I've just tried CMD ENTER on my Mac and nothing. I can't check my version as using npx and this doesnt work:
> /version
✕ Unknown command: /version
Sorry about this, this may be a documentation thing. Right now, option-enter should work on mac terminal, and you can also escape newlines with a \
Option+Enter does not work either
same shift+enter did not start a new line (on windows too)
TIL /about same issue with 0.1.8 on Mac
Ok sorry, so i tried on latest Mac:
- shit enter doesnt work
- command enter doesnt work
- option enter DOES work.
I renamed this to "on Mac" hope its ok.
same shift+enter did not start a new line (on windows too)
Ctrl+Enter works on Windows.
Which windows version?
Which windows version?
Windows 11 Version 24H2 (OS Build 26100.4061)
https://github.com/user-attachments/assets/df8fe6ba-de4e-47b5-965b-36d8550120e7
i didnt work for me on windows
Device name God_of_conquest Processor 13th Gen Intel(R) Core(TM) i7-13620H 2.40 GHz Installed RAM 16.0 GB (15.8 GB usable) Device ID 23D3DA3A-C54B-437F-8944-8C53E0370A4A Product ID 00342-42646-76245-AAOEM System type 64-bit operating system, x64-based processor Pen and touch No pen or touch input is available for this display
Edition Windows 11 Home Single Language Version 24H2 Installed on 07-06-2025 OS build 26100.4351 Experience Windows Feature Experience Pack 1000.26100.107.0
@welovfree
Didn't work on Mac M1 by all three combinations
And somehow it installed version 0.1.7 by npm install
try CTRL-J or ALT-Enter personally i would prefer: enter = newline. ctrl-enter = submit.
ctrl+j indeed works on mac.
My preferred choice would also be:
enter = newline
ctrl+enter = submit
Using \ + Enter
This is being tracked in #849,