aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/mod.rs
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2021-03-24 13:50:29 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2021-05-04 20:47:52 +0530
commit90982c3e47f8af98fda3bd5617a3d1bc9acd871d (patch)
tree25816504d22f5e8ef08b932021323c2d7531884c /src/common/mod.rs
parenta probable fix for tests (diff)
downloadsl0ppij-90982c3e47f8af98fda3bd5617a3d1bc9acd871d.tar.gz
sl0ppij-90982c3e47f8af98fda3bd5617a3d1bc9acd871d.tar.xz
sl0ppij-90982c3e47f8af98fda3bd5617a3d1bc9acd871d.zip
Some documentation an ClientOsApi stuff
Diffstat (limited to 'src/common/mod.rs')
-rw-r--r--src/common/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/mod.rs b/src/common/mod.rs
index 372b1ea7..cca8b0db 100644
--- a/src/common/mod.rs
+++ b/src/common/mod.rs
@@ -38,8 +38,6 @@ use wasm_vm::{
wasi_stdout, wasi_write_string, zellij_imports, EventType, PluginInputType, PluginInstruction,
};
-pub const IPC_BUFFER_SIZE: u32 = 8192;
-
#[derive(Serialize, Deserialize, Debug, Clone)]
pub enum ServerInstruction {
OpenFile(PathBuf),
@@ -168,7 +166,7 @@ impl From<ClientInstruction> for AppInstruction {
}
}
-/// Start Zellij with the specified [`OsApi`] and command-line arguments.
+/// Start Zellij with the specified [`ClientOsApi`], [`ServerOsApi`] and command-line arguments.
// FIXME this should definitely be modularized and split into different functions.
pub fn start(
mut os_input: Box<dyn ClientOsApi>,