aboutsummaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2021-05-03 17:23:32 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2021-05-04 20:48:17 +0530
commitea552d71e4b1d4a72d30f4481079cb0e30b0fc58 (patch)
treed557367d1b170e0ce517dc8effd1175783cb6fd1 /src/server
parentuse better names for senders, receivers and threads (diff)
downloadsl0ppij-ea552d71e4b1d4a72d30f4481079cb0e30b0fc58.tar.gz
sl0ppij-ea552d71e4b1d4a72d30f4481079cb0e30b0fc58.tar.xz
sl0ppij-ea552d71e4b1d4a72d30f4481079cb0e30b0fc58.zip
Introduce IpcReceiverWIthContext and move ipc stuff to common/ipc.rs
Fall back to /tmp/zellij-{uid} directory if runtime_dir is not available. Use serialize_into() to avoid Vec allocation. And some cleanup
Diffstat (limited to 'src/server')
-rw-r--r--src/server/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/mod.rs b/src/server/mod.rs
index c1f93d5b..25a95222 100644
--- a/src/server/mod.rs
+++ b/src/server/mod.rs
@@ -16,7 +16,6 @@ use zellij_tile::data::{Event, EventType, ModeInfo};
use crate::cli::CliArgs;
use crate::client::ClientInstruction;
-use crate::common::ZELLIJ_IPC_PIPE;
use crate::common::{
errors::{ContextType, PluginContext, PtyContext, ScreenContext, ServerContext},
input::actions::{Action, Direction},
@@ -24,6 +23,7 @@ use crate::common::{
os_input_output::ServerOsApi,
pty_bus::{PtyBus, PtyInstruction},
screen::{Screen, ScreenInstruction},
+ utils::consts::ZELLIJ_IPC_PIPE,
wasm_vm::{wasi_stdout, wasi_write_string, zellij_imports, PluginEnv, PluginInstruction},
ChannelWithContext, SenderType, SenderWithContext,
};