aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-client
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2025-08-01 15:17:44 +0200
committerGitHub <noreply@github.com>2025-08-01 15:17:44 +0200
commitb5a893f36a5a466b8bce6f24fd1e3a556e1e46ae (patch)
treebbc2e47c73a9ac5db221ae7d311c64b8c3cbccaf /zellij-client
parentdocs(about): release notes for version 0.43.0 (#4326) (diff)
downloadsl0ppij-b5a893f36a5a466b8bce6f24fd1e3a556e1e46ae.tar.gz
sl0ppij-b5a893f36a5a466b8bce6f24fd1e3a556e1e46ae.tar.xz
sl0ppij-b5a893f36a5a466b8bce6f24fd1e3a556e1e46ae.zip
style: some cleanups (#4329)
* style: some cleanups * style(fmt): rustfmt
Diffstat (limited to 'zellij-client')
-rw-r--r--zellij-client/src/lib.rs5
-rw-r--r--zellij-client/src/web_client/mod.rs1
2 files changed, 5 insertions, 1 deletions
diff --git a/zellij-client/src/lib.rs b/zellij-client/src/lib.rs
index 60245f94..0f326f8f 100644
--- a/zellij-client/src/lib.rs
+++ b/zellij-client/src/lib.rs
@@ -59,8 +59,11 @@ pub(crate) enum ClientInstruction {
UnblockCliPipeInput(()), // String -> pipe name
CliPipeOutput((), ()), // String -> pipe name, String -> output
QueryTerminalSize,
- WriteConfigToDisk { config: String },
+ WriteConfigToDisk {
+ config: String,
+ },
StartWebServer,
+ #[allow(dead_code)] // we need the session name here even though we're not currently using it
RenamedSession(String), // String -> new session name
}
diff --git a/zellij-client/src/web_client/mod.rs b/zellij-client/src/web_client/mod.rs
index c85caf18..a6fe4765 100644
--- a/zellij-client/src/web_client/mod.rs
+++ b/zellij-client/src/web_client/mod.rs
@@ -171,6 +171,7 @@ pub fn start_web_client(
));
}
+#[allow(dead_code)]
async fn listen_to_config_file_changes(config_file_path: PathBuf, instance_id: &str) {
let socket_path = WEBSERVER_SOCKET_PATH.join(instance_id);