After running a command in zsh, especially after ctrl+c, there is a pause before my prompt is displayed again. In bash, when this happens, anything typed before the prompt reappears is still counted as input, even if it displays before the new prompt or is erased by it. This means I can type ctrl+c + ls + enter as fast as I can, and ls will still run. On zsh, I often just end up with s, the l being entered too quickly. Pressing enter then submits only s.

I've tried googling "zsh buffer input while prompt loading" and a few variants, but found nothing.

I have tried disabling my prompt plugin, and all other plugins, but that makes no difference.

1 Answer 1


I ended up fixing this myself. There were functions in my zshrc swallowing input.

  • How about accepting your own answer, so this question doesn't remain open? Jun 18, 2020 at 12:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .