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")
|
let Ok(mut child) = (process::Command::new("sh")
|
||||||
.arg("-c")
|
.arg("-c")
|
||||||
.arg(cmd)
|
.arg(cmd)
|
||||||
|
.env("TERM", "screen")
|
||||||
.stdin(Stdio::null())
|
.stdin(Stdio::null())
|
||||||
.stdout(Stdio::piped())
|
.stdout(Stdio::piped())
|
||||||
.stderr(Stdio::piped()))
|
.stderr(Stdio::piped()))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user