aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-11-19 10:04:19 +0100
committerGitHub <noreply@github.com>2024-11-19 10:04:19 +0100
commit0d4b00c4d4502d2ee1ba5a6e7e56db2134841e2b (patch)
treebdadff46dcee3bc6e459665c213763063154187d
parentdocs(changelog): vendor common_path (diff)
downloadsl0ppij-0d4b00c4d4502d2ee1ba5a6e7e56db2134841e2b.tar.gz
sl0ppij-0d4b00c4d4502d2ee1ba5a6e7e56db2134841e2b.tar.xz
sl0ppij-0d4b00c4d4502d2ee1ba5a6e7e56db2134841e2b.zip
fix(plugins): derive hash and ord for PaneId (#3790)
-rw-r--r--zellij-utils/src/data.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/zellij-utils/src/data.rs b/zellij-utils/src/data.rs
index 40bdb200..94b74c4d 100644
--- a/zellij-utils/src/data.rs
+++ b/zellij-utils/src/data.rs
@@ -1503,7 +1503,7 @@ pub struct NewPluginArgs {
pub skip_cache: bool,
}
-#[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq)]
+#[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub enum PaneId {
Terminal(u32),
Plugin(u32),