Very slow typing on mac
Hello everyone,
I'm using opencode on my mac. My keyboard is functioning normally most of the time. But when using opencode i frequently miss some key type (I type some key and those are not showing in the opencode terminal).
which terminal app do you use? any multiplexers (tmux, zellig)? which shell?
I'm experiencing the same thing with bash in wezterm without a multiplexer. Roughly 25% of keypresses are dropped. It works fine in the builtin Terminal app.
Try changing themes. The default theme did that same thing for me, changing to a dark theme works.
which terminal app do you use? any multiplexers (tmux, zellig)? which shell?
the default mac terminal
Ok I just reopen the app : it is working fine now
I had this when i first installed opencode for the first 5 ish min, then it fixed itself. Running ghostty on default theme. Wondering if there is a first time setup stuff running in the background that is degrading performance?
oh, interesting… has anyone in this thread not seen the issue resolve itself over time?
I can also confirm that it was very laggy, dropping keypresses on first install, but hasn't experienced that since.
I also used Ghostty, with no multiplexer, fish shell if that matters on macOS.
I very much though my keyboard was broken for a moment. :)
I think I had the same thing, also resolved itself. I'm using Alacritty and accessing opencode via tmux.
Had the a similar experience as @0ximjosh. Ghostty, MacOS, default theme, was laggy for the first minute or so and dropping ~40% of keystrokes. After I quite and started it up again it worked fine.
very buggy for me on Terminal.app and iTerm.app, I tried restarting multiple times. Keys are dropped and commands not appearing to register. Tried /new a few times and API dashboard said I made 2.5k requests.
very buggy for me on Terminal.app and iTerm.app, I tried restarting multiple times. Keys are dropped and commands not appearing to register. Tried
/newa few times and API dashboard said I made 2.5k requests.
what other commands were you trying? /new doesn't make any network requests at all, just clears the active session.
Im wondering if it could be related to the tui being a subprocess (from my understanding of the way opencode is built) of bun? https://github.com/oven-sh/bun/issues/9855 Not sure that explains why it only is slow the first time though
very buggy for me on Terminal.app and iTerm.app, I tried restarting multiple times. Keys are dropped and commands not appearing to register. Tried
/newa few times and API dashboard said I made 2.5k requests.what other commands were you trying?
/newdoesn't make any network requests at all, just clears the active session.
Yeah thanks, that was a bit inaccurate. I got /new to work once then DID get to pass a prompt "Create static website with latest PixiJS" (or similar), it showed a few things in the terminal but no code was written. I was confused so created new folders and kept trying with /new but couldn't get it to work. I did get the model to set correctly with /model (felt buggy, like very slow). I also tried with /session — I think I was a bit confused session vs new. I assumed session was for managing multiple instances?
Maybe I can record a Loom of my experience, let me know if that might help.
that would be great!
people who experienced the issue, what was the install method?
also if you can make this happen can you send me the latest log in ~/.local/share/opencode/log
people who experienced the issue, what was the install method?
Homebrew.
lol i wonder if our brew auto upgrade is hitting that thing where it upgrades your whole system. let me check
fwiw I'd find that unlikely to be an interraction, I basically use homebrew for everything, it's just the habit I have, and I very feverishly do $ brew update && brew outdated && brew upgrade at least daily.