From c6ec5375ce4fff24e012c287747e490d0973dd5e Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 27 Nov 2024 21:32:20 -0500 Subject: [PATCH] chore: increase cat buffer to 4KB (#130) --- src/shell/commands/cat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/commands/cat.rs b/src/shell/commands/cat.rs index 674fe33..272b77e 100644 --- a/src/shell/commands/cat.rs +++ b/src/shell/commands/cat.rs @@ -34,7 +34,7 @@ impl ShellCommand for CatCommand { fn execute_cat(mut context: ShellCommandContext) -> Result { 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