Skip to content

Commit

Permalink
Increase process buffer limit from 300 to 1000 lines before truncating
Browse files Browse the repository at this point in the history
  • Loading branch information
CKolkey committed Oct 19, 2024
1 parent fab2507 commit c41a654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neogit/buffers/process/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ end

function M:append(data)
self.lines = self.lines + 1
if self.lines > 300 then
if self.lines > 1000 then
if not self.truncated then
self.content = table.concat({ self.content, "\r\n[Output too long - Truncated]" }, "\r\n")
self.truncated = true
Expand Down

0 comments on commit c41a654

Please sign in to comment.