Skip to content

Commit

Permalink
Check cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
luozhiya committed Jun 8, 2024
1 parent 72acb7d commit 48db87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/fittencode/engines/actions/content.lua
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ end

function M:get_conversation_index(row, col)
for i, cursor in ipairs(self.cursors) do
if cursor then
if cursor and #cursor == 5 then
if row >= cursor[ViewBlock.IN][1][1] and row <= cursor[ViewBlock.QED][2][1] then
return i
end
Expand Down

0 comments on commit 48db87c

Please sign in to comment.