Powerlevel9k / powerlevel9k

Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.
https://github.com/romkatv/powerlevel10k
MIT License
13.46k stars 946 forks source link

P9K crashes zsh when autocompleting ffmpeg #1290

Open tippl opened 5 years ago

tippl commented 5 years ago

Describe Your Issue

When i type ffmpeg and press tab a few times, zsh fully crashes and terminal emulator no longer responds to any keypresses. It has to be fully closed and reopened again.

2019-05-26_09-59-39

This is also accompained by weird cursor and screen flickers that were not there before.

Have you tried to debug or fix it?

I have tried to comment out most of my .zshrc, so my P9K settings, and any other zsh plugins, functions and aliases. This has stopped happening only after commenting out loading of P9K.

I did perform git bisect on this, and it seems to be caused by this commit: 4ccfd9dae5b34a053f8080ba8fc109d68ac611ca

And sure, after commenting out the lines that were added in this comit, the issue was fixed.

Environment Information

This information will help us understand your configuration.

romkatv commented 5 years ago

FWIW, background_jobs segment works correctly in Powerlevel10k without trapping signals. Maybe give it a try?