We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dce7e5 commit 0d93266Copy full SHA for 0d93266
src/main.rs
@@ -263,7 +263,7 @@ fn spawn_watch_shell(
263
println!("Welcome to watch mode! You can type 'help' to get an overview of the commands you can use here.");
264
265
thread::spawn(move || {
266
- let mut input = String::new();
+ let mut input = String::with_capacity(32);
267
let mut stdin = io::stdin().lock();
268
269
loop {
0 commit comments