aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2021-07-20 15:08:38 +0200
committera-kenji <aks.kenji@protonmail.com>2021-07-20 15:08:38 +0200
commit697ba09c71407f1cf430dfb59292fb7b6ee3b182 (patch)
tree9061f23fd31826d700e34ee954cdee0ad90630b7
parentchore(release): rotate changelog (diff)
downloadsl0ppij-697ba09c71407f1cf430dfb59292fb7b6ee3b182.tar.gz
sl0ppij-697ba09c71407f1cf430dfb59292fb7b6ee3b182.tar.xz
sl0ppij-697ba09c71407f1cf430dfb59292fb7b6ee3b182.zip
Add noop for mouse actions on plugins
* Comments the `unimplemented!` macro out, in favor of a noop The macro is still there for easy greppability. It is still unimplemented, but zellij doesn't need to panic once a plugin does get a scroll event.
-rw-r--r--zellij-server/src/panes/plugin_pane.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/zellij-server/src/panes/plugin_pane.rs b/zellij-server/src/panes/plugin_pane.rs
index c01c7b87..256ceaea 100644
--- a/zellij-server/src/panes/plugin_pane.rs
+++ b/zellij-server/src/panes/plugin_pane.rs
@@ -196,13 +196,13 @@ impl Pane for PluginPane {
self.position_and_size.y -= count;
}
fn scroll_up(&mut self, _count: usize) {
- unimplemented!()
+ //unimplemented!()
}
fn scroll_down(&mut self, _count: usize) {
- unimplemented!()
+ //unimplemented!()
}
fn clear_scroll(&mut self) {
- unimplemented!()
+ //unimplemented!()
}
// FIXME: This need to be reevaluated and deleted if possible.
// `max` doesn't make sense when things are fixed...