summaryrefslogtreecommitdiffstats
path: root/zellij-utils/src
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2021-12-02 18:35:55 +0100
committerGitHub <noreply@github.com>2021-12-02 18:35:55 +0100
commitcbe0d5405e5b089daeafca6392ee598724e7c0b6 (patch)
tree3262ae3ef6ba88f62357e846c961f2d9137063f3 /zellij-utils/src
parent180aa786a5d1567d03191af1c1e657d811f436a4 (diff)
fix(compatibility): do not duplicate bracketed paste in chunked stdin input (#917)
* debug message * fix attempt * oops * remove log message * rustfmt * style(clippy): make clippy happy * style(clippy): make clippy happy again!
Diffstat (limited to 'zellij-utils/src')
-rw-r--r--zellij-utils/src/input/layout.rs13
1 files changed, 1 insertions, 12 deletions
diff --git a/zellij-utils/src/input/layout.rs b/zellij-utils/src/input/layout.rs
index e06f20018..76625645d 100644
--- a/zellij-utils/src/input/layout.rs
+++ b/zellij-utils/src/input/layout.rs
@@ -162,7 +162,7 @@ pub struct LayoutFromYamlIntermediate {
// The struct that is used to deserialize the layout from
// a yaml configuration file
-#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
+#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Default)]
#[serde(crate = "self::serde")]
#[serde(default)]
pub struct LayoutFromYaml {
@@ -775,17 +775,6 @@ impl Default for LayoutTemplate {
}
}
-impl Default for LayoutFromYaml {
- fn default() -> Self {
- Self {
- session: SessionFromYaml::default(),
- template: LayoutTemplate::default(),
- borderless: false,
- tabs: vec![],
- }
- }
-}
-
impl Default for Direction {
fn default() -> Self {
Direction::Horizontal