Skip to content

Commit

Permalink
Delete print function
Browse files Browse the repository at this point in the history
  • Loading branch information
gen740 committed Nov 18, 2023
1 parent 9788a2d commit 2a58a85
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lua/chatgpt/flows/chat/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -655,10 +655,7 @@ function Chat:get_layout_params()
end
local box = Layout.Box({
left_layout,
Layout.Box(
self.chat_input,
{ size = vim.print(vim.print(self.chat_input.border._.style) == "none" and 0 or 2) + self.prompt_lines }
),
Layout.Box(self.chat_input, { size = (self.chat_input.border._.style == "none" and 0 or 2) + self.prompt_lines }),
}, { dir = "col" })

if self.settings_open then
Expand Down

0 comments on commit 2a58a85

Please sign in to comment.