fix: remove breakline prefix

This commit is contained in:
yetone 2024-08-15 10:06:48 +08:00
parent 4c5c3aa1a0
commit 43d6cb5930
No known key found for this signature in database
GPG Key ID: 222BA52B342D52AA

View File

@ -470,7 +470,7 @@ function M.render_sidebar()
local timestamp = get_timestamp()
update_result_buf_content(
"\n\n## " .. timestamp .. "\n\n> " .. user_input:gsub("\n", "\n> ") .. "\n\nGenerating response...\n"
"## " .. timestamp .. "\n\n> " .. user_input:gsub("\n", "\n> ") .. "\n\nGenerating response...\n"
)
local code_buf = get_cur_code_buf()