fix: made it so that the TERM variable is shared
now commands like clear work
This commit is contained in:
parent
57cd4aa2be
commit
d5e78b5746
@ -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()))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user