jackMort / jackMort/ChatGPT.nvim

Floating window breaks when switching tabs

Open
#335 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Lua
Stars
4k
Forks
317
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the floating-window failure by opening ChatGPT, switching tabs with :tabn and :tabp, and checking whether the cursor remains usable. Inspect the floating window lifecycle around the :ChatGPT command and tab switching; done means the window closes automatically or remains usable without requiring a mouse click.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.