jackMort / jackMort/ChatGPT.nvim

Multiple lines in prompt

Open
#384 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
4k
Forks
317
PR merge metrics
No merged PRs in 30d

Description

Lines 2,4, and 8 are entered one line above the bottom, hiding the first line with the "|USER|" field. Moreover, when the prompt reaches the maximum height, the program crashes.
![prompt](https://github.com/jackMort/ChatGPT.nvim/assets/15126939/2cd56086-fda5-44fc-b07a-7060904ca2e3)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in Neovim by entering a multiline prompt, including one at maximum height, and observe the misplaced lines and crash. Inspect the prompt rendering and height-handling entry points; done means all lines remain visible, the USER field is not obscured, and maximum-height prompts do not crash.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.