From da2a9b5c18eeff329d635004644664dadf3634bb Mon Sep 17 00:00:00 2001 From: Tw Date: Mon, 13 Sep 2021 17:56:33 +0800 Subject: feat(screen): support specifying tab's name in layout (#715) Signed-off-by: Tw --- zellij-utils/src/input/layout.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zellij-utils/src/input/layout.rs') diff --git a/zellij-utils/src/input/layout.rs b/zellij-utils/src/input/layout.rs index 5d4b34926..7d1024514 100644 --- a/zellij-utils/src/input/layout.rs +++ b/zellij-utils/src/input/layout.rs @@ -224,6 +224,8 @@ pub struct TabLayout { pub parts: Vec, pub split_size: Option, pub run: Option, + #[serde(default)] + pub name: String, } impl Layout { @@ -427,6 +429,7 @@ impl Default for TabLayout { parts: vec![], split_size: None, run: None, + name: String::new(), } } } -- cgit v1.2.3