linux: various fixes across the crates to make it compile

This commit is contained in:
Dzmitry Malyshau 2024-02-03 00:06:20 -08:00
parent 7c7aad5e76
commit 2e32f5867e
7 changed files with 11 additions and 9 deletions

View file

@ -124,7 +124,7 @@ impl Project {
// Paths are not strings so we need to jump through some hoops to format the command without `format!`
let mut command = Vec::from(activate_command.as_bytes());
command.push(b' ');
command.extend_from_slice(activate_script.as_os_str().as_bytes());
command.extend_from_slice(activate_script.as_os_str().as_encoded_bytes());
command.push(b'\n');
terminal_handle.update(cx, |this, _| this.input_bytes(command));