feat: added cd

added cd and fixed all the warnings in the source code
This commit is contained in:
Andrew Rioux
2023-09-08 23:26:10 -04:00
parent ae24c2e0ad
commit 726e6dff13
10 changed files with 139 additions and 42 deletions

View File

@@ -69,7 +69,7 @@ pub mod messages {
SendStdout(Vec<u8>, u64),
CommandDone(u64, i32),
CdDone,
CdDone(Result<PathBuf, String>),
LsResults(Vec<DirEntry>),
OpenedTTY(u64),
@@ -100,6 +100,7 @@ pub mod messages {
#[derive(Serialize, Deserialize, Debug)]
pub struct Capabilities {
pub cwd: PathBuf,
pub operating_system: OperatingSystem,
pub docker_container: bool,
pub docker_breakout: bool,