jackMort / jackMort/ChatGPT.nvim

Bug: the delete shortcut deletes the wrong messages

Open
#446 0 comments 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
Lua
Stars
4k
Forks
317
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm pretty sure there's an index issue with the messages that is espacially annoying when trying to delete a message, the wrong message gets deleted!

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the problem by using the delete shortcut on several messages, then trace how the selected message index is calculated and applied. Done means the shortcut consistently deletes the message that was selected rather than a different message.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.