Skip to content

Commit

Permalink
chore: increase cat buffer to 4KB (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Nov 28, 2024
1 parent 5cc182c commit c6ec537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shell/commands/cat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl ShellCommand for CatCommand {
fn execute_cat(mut context: ShellCommandContext) -> Result<ExecuteResult> {
let flags = parse_args(context.args)?;
let mut exit_code = 0;
let mut buf = vec![0; 1024];
let mut buf = vec![0; 4096];
for path in flags.paths {
if path == "-" {
context
Expand Down

0 comments on commit c6ec537

Please sign in to comment.