v0.5.3 only accepts every second keystroke when sandboxed on MacOS
What happened?
After upgrading to v0.5.3 (homebrew) the gemini command line accepts every 2nd keyboard keystroke on my MacBook Air M1 (permissive sandboxing set with GEMINI_SANDBOX=true). To type in "bla" I would need to type "bbllaa".
Disabling sandboxing solves the problem.
What did you expect to happen?
Every keystroke adds the corresponding character to the command line, in sandboxed mode as well.
Client information
Client Information
Run gemini to enter the interactive CLI, then run the /about command.
> /about
About Gemini CLI │
│ │
│ CLI Version 0.5.3 │
│ Git Commit cb341041 │
│ Model gemini-2.5-pro │
│ Sandbox sandbox-exec (permissive-open) │
│ OS darwin │
│ Auth Method OAuth
Login information
Google Account
Anything else we need to know?
No response
This is a high-priority bug affecting the usability of the CLI on macOS when sandboxing is enabled. The issue is specific to the platform and sandbox environment.
I thought it was just me, and I even started debugging my wireless keyboard…
Thanks for sharing, we will investigate this shortly.
Can confirm the issue in sandbox mode(on linux). We will investigate.
After the last update, typing is extremely slow on Windows WSL, and pasting does not paste the full text.
Also occurs on 0.5.4
Can confirm on macOS Sonoma 14.7.8 with macOS Sandbox activated, started when upgrading from 0.4.x to 0.5.3.
Note that I had also updated to macOS 26 and found the same problem with v0.5.4. Had to downgrade to 0.4.1 to work in sandbox mode (macOS Seatbelt (permissive-open)).
Fixed in v0.5.5 (macOS 15.7 (24G222) @ M4), thanks!
Problem solved by updating to 0.5.5, thanks!
Hi folks, as reported we have fixed this in v0.5.5. Thank you for your patience, will close this out now!