summaryrefslogtreecommitdiffstats
path: root/zellij-tile/src
diff options
context:
space:
mode:
authorBrooks J Rady <b.j.rady@gmail.com>2021-04-19 23:37:47 +0100
committerBrooks J Rady <b.j.rady@gmail.com>2021-04-19 23:37:47 +0100
commitfee999ec40b469564e65c8c551f463805003ba6d (patch)
treee66c4f4bce0d22aa22de4408b4e0c9db5b71b0fa /zellij-tile/src
parent996c197fcf9fbc655e7cf7e741c62ad71970c322 (diff)
fix(naming): made plugin terminology more consistent
Diffstat (limited to 'zellij-tile/src')
-rw-r--r--zellij-tile/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/zellij-tile/src/lib.rs b/zellij-tile/src/lib.rs
index 72211764b..af7d8ca12 100644
--- a/zellij-tile/src/lib.rs
+++ b/zellij-tile/src/lib.rs
@@ -5,14 +5,14 @@ pub mod shim;
use data::*;
#[allow(unused_variables)]
-pub trait ZellijTile {
+pub trait ZellijPlugin {
fn load(&mut self) {}
fn update(&mut self, event: Event) {}
fn render(&mut self, rows: usize, cols: usize) {}
}
#[macro_export]
-macro_rules! register_tile {
+macro_rules! register_plugin {
($t:ty) => {
thread_local! {
static STATE: std::cell::RefCell<$t> = std::cell::RefCell::new(Default::default());