There is probably a more idiomatic way to do this - I wanted to make sure that even with long lines of output that the partial output would not exceed the `:max` option.