Skip to content

Commit 82e9706

Browse files
committed
fix: chat scrolling regression (resolves #82)
1 parent 0601d16 commit 82e9706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/gp/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1939,7 +1939,7 @@ M.chat_respond = function(params)
19391939
M.query(
19401940
buf,
19411941
M.prepare_payload(messages, headers.model, agent.model),
1942-
M.create_handler(buf, win, M._H.last_content_line(buf), true, "", false),
1942+
M.create_handler(buf, win, M._H.last_content_line(buf), true, "", not M.config.chat_free_cursor),
19431943
vim.schedule_wrap(function(qid)
19441944
local qt = M.get_query(qid)
19451945
if not qt then

0 commit comments

Comments
 (0)