firebase / genkit

An open source framework for building AI-powered apps with familiar code-centric patterns. Genkit makes it easy to integrate, test, and deploy sophisticated AI features to Firebase or Google Cloud.
Apache License 2.0
595 stars 72 forks source link

[Tooling] Sometimes cannot cancel out of `genkit start` command #589

Open chrisraygill opened 1 month ago

chrisraygill commented 1 month ago

Describe the bug

When I'm using VSCode's Integrated Terminal, I often cannot cancel out of a genkit start command. I get these ^C characters instead. It doesn't happen outside of VSCode (e.g. iTerm). I'm using oh my zsh. It's only the genkit start command that this happens with

image

Yorkemartin commented 1 month ago

i get this issue in iTerm2 + zsh

cabljac commented 1 month ago

Does anyone get this issue without iTerm2 and zsh? I am using these as well

cabljac commented 1 month ago
Screenshot 2024-07-30 at 08 23 12

managed to repro it unintentionally. I think it may be upon reload. I'm using zsh and iTerm2 still

tonybaroneee commented 3 weeks ago
image

Repro'd as well. zsh + iTerm2.

cabljac commented 2 weeks ago

https://superuser.com/questions/1178934/iterm2-ctrl-c-doesnt-work-sometimes

https://stackoverflow.com/questions/57827784/ctrl-c-doesnt-break-in-terminal-on-mac

cabljac commented 2 weeks ago

might be related to readline, which we're using

https://github.com/nodejs/node/issues/4758