jackMort / ChatGPT.nvim

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

Limit Visible Lines in Input Popup #253

Closed skdziwak closed 1 year ago

skdziwak commented 1 year ago

This pull request introduces a fix for the issue where long prompts would overflow the screen. By limiting the number of visible lines in the input popup, we prevent overflow and ensure that the user interface remains clean and accessible. This enhancement improves the overall user experience, particularly when dealing with large amounts of text. It is configurable so users will be able to choose if this feature is enabled.

skdziwak commented 1 year ago

I fixed code style