fix: refine separator in full view (#2664)

This commit is contained in:
yetone
2025-08-31 23:11:00 +08:00
committed by GitHub
parent 8ca7f75ce4
commit 4af25547db

View File

@@ -1850,7 +1850,7 @@ function Sidebar.get_history_lines(history, ignore_record_prefix)
for idx, item in ipairs(group) do
if idx ~= 1 then
if ignore_record_prefix then
res = vim.list_extend(res, { Line:new({ { "" } }) })
res = vim.list_extend(res, { Line:new({ { "" } }), Line:new({ { "" } }) })
else
res = vim.list_extend(res, { Line:new({ { "" } }), Line:new({ { RESP_SEPARATOR } }), Line:new({ { "" } }) })
end