Skip to content

Commit

Permalink
fix: chat scrolling regression (resolves #82)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robitx committed Dec 18, 2023
1 parent 0601d16 commit 82e9706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/gp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1939,7 +1939,7 @@ M.chat_respond = function(params)
M.query(
buf,
M.prepare_payload(messages, headers.model, agent.model),
M.create_handler(buf, win, M._H.last_content_line(buf), true, "", false),
M.create_handler(buf, win, M._H.last_content_line(buf), true, "", not M.config.chat_free_cursor),
vim.schedule_wrap(function(qid)
local qt = M.get_query(qid)
if not qt then
Expand Down

0 comments on commit 82e9706

Please sign in to comment.