Skip to content

Commit

Permalink
Add carriage return to BackseatAsk for issue #10
Browse files Browse the repository at this point in the history
  • Loading branch information
james1236 committed Apr 5, 2023
1 parent d88695e commit 9c9f38b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/backseat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ local function backseat_ask_callback(responseTable)
local message = "AI Says: " .. responseTable.choices[1].message.content

-- Split long messages into multiple lines
message = table.concat(split_long_text(message), "\n")
message = table.concat(split_long_text(message), "\r\n")

vim.fn.confirm(message, "&OK", 1, "Generic")
end
Expand Down

0 comments on commit 9c9f38b

Please sign in to comment.