diff options
author | Aram Drevekenin <aram@poor.dev> | 2021-12-02 18:35:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 18:35:55 +0100 |
commit | cbe0d5405e5b089daeafca6392ee598724e7c0b6 (patch) | |
tree | 3262ae3ef6ba88f62357e846c961f2d9137063f3 /zellij-server/src/ui | |
parent | 180aa786a5d1567d03191af1c1e657d811f436a4 (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-server/src/ui')
-rw-r--r-- | zellij-server/src/ui/overlay/mod.rs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/zellij-server/src/ui/overlay/mod.rs b/zellij-server/src/ui/overlay/mod.rs index 3bac1afb5..b0c159959 100644 --- a/zellij-server/src/ui/overlay/mod.rs +++ b/zellij-server/src/ui/overlay/mod.rs @@ -44,19 +44,11 @@ impl Overlayable for OverlayType { /// Entrypoint from [`Screen`], which holds the context in which /// the overlays are being rendered. /// The most recent overlays draw over the previous overlays. -#[derive(Clone, Debug)] +#[derive(Clone, Debug, Default)] pub struct OverlayWindow { pub overlay_stack: Vec<Overlay>, } -impl Default for OverlayWindow { - fn default() -> Self { - Self { - overlay_stack: vec![], - } - } -} - impl Overlayable for OverlayWindow { fn generate_overlay(&self, size: Size) -> String { let mut output = String::new(); |