diff options
| author | Aram Drevekenin <aram@poor.dev> | 2023-06-15 17:07:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-15 17:07:40 +0200 |
| commit | bcbd940bf94cd76751af9b5fad64b716ce2cd3e6 (patch) | |
| tree | 3bfed3792edd57f074c4aed9093c90bc6ed215fe /zellij-tile/src | |
| parent | docs(changelog): relative plugin urls (diff) | |
| download | sl0ppij-bcbd940bf94cd76751af9b5fad64b716ce2cd3e6.tar.gz sl0ppij-bcbd940bf94cd76751af9b5fad64b716ce2cd3e6.tar.xz sl0ppij-bcbd940bf94cd76751af9b5fad64b716ce2cd3e6.zip | |
feat(plugins): plugin pane state events (#2545)
* feat(plugins): report pane state to plugins
* refactor(plugins): rename some stuff
* tests(plugins): adjust for new behavior
* style(fmt): rustfmt
Diffstat (limited to 'zellij-tile/src')
| -rw-r--r-- | zellij-tile/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zellij-tile/src/lib.rs b/zellij-tile/src/lib.rs index 7968ced3..cca2a876 100644 --- a/zellij-tile/src/lib.rs +++ b/zellij-tile/src/lib.rs @@ -5,7 +5,7 @@ use serde::{Deserialize, Serialize}; use zellij_utils::data::Event; #[allow(unused_variables)] -pub trait ZellijPlugin { +pub trait ZellijPlugin: Default { fn load(&mut self) {} fn update(&mut self, event: Event) -> bool { false |
