summaryrefslogtreecommitdiffstats
path: root/zellij-server/src/panes/plugin_pane.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2022-02-21 20:13:32 +0100
committerGitHub <noreply@github.com>2022-02-21 20:13:32 +0100
commit256671aeccb11012558c34769ebebc4e6f430daf (patch)
treea2b4caa63ebc8e82ad03c0087f9c182b1c8f6157 /zellij-server/src/panes/plugin_pane.rs
parent379271f41b0281e86269cddf6c5bd72ec5af3e33 (diff)
fix(ui): restore get active at (#1076)
* don't crash if misusing the plugin pane api * restore get active at * rustfmt
Diffstat (limited to 'zellij-server/src/panes/plugin_pane.rs')
-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 b7389bcb7..888a2076c 100644
--- a/zellij-server/src/panes/plugin_pane.rs
+++ b/zellij-server/src/panes/plugin_pane.rs
@@ -1,7 +1,6 @@
use std::fmt::Write;
use std::sync::mpsc::channel;
use std::time::Instant;
-use std::unimplemented;
use crate::output::CharacterChunk;
use crate::panes::PaneId;
@@ -106,13 +105,14 @@ impl Pane for PluginPane {
self.should_render = true;
}
fn handle_pty_bytes(&mut self, _event: VteBytes) {
- unimplemented!()
+ // noop
}
fn cursor_coordinates(&self) -> Option<(usize, usize)> {
None
}
fn adjust_input_to_terminal(&self, _input_bytes: Vec<u8>) -> Vec<u8> {
- unimplemented!()
+ // noop
+ vec![]
}
fn position_and_size(&self) -> PaneGeom {
self.geom