jackMort / ChatGPT.nvim

ChatGPT Neovim Plugin: Effortless Natural Language Generation with OpenAI's ChatGPT API
Apache License 2.0
3.71k stars 310 forks source link

Floating window breaks when switching tabs #335

Open ari-f-checkr opened 10 months ago

ari-f-checkr commented 10 months ago

If I switch tabs using tabn and tabp the floating window just looks broken, I can't see or move the cursor unless I click with my actual mouse. Here is a screencast of the issue:

https://github.com/jackMort/ChatGPT.nvim/assets/141374520/5db03659-6eae-4f79-afff-dda5d8d69bd6

I can close the floating window by running :ChatGPT again, I prefer it auto close or just not be buggy. Was thinking of adding some autocmd that closes the floating window if it is open, when I switch tabs. Curious if this is just on my nvchad config or not.

k-martynov commented 8 months ago

I'm getting same issue