diff options
| author | Paweł Palenica <pawelpalenica11@gmail.com> | 2021-07-13 23:22:11 -0700 |
|---|---|---|
| committer | Paweł Palenica <pawelpalenica11@gmail.com> | 2021-07-13 23:29:04 -0700 |
| commit | b15cfba6e1c6227395a4f8cd2a625bd75659092e (patch) | |
| tree | 1175c031bd191ae0216e7f75bdc2238fb7c81f6a /default-plugins | |
| parent | Update Cargo.toml (diff) | |
| download | sl0ppij-b15cfba6e1c6227395a4f8cd2a625bd75659092e.tar.gz sl0ppij-b15cfba6e1c6227395a4f8cd2a625bd75659092e.tar.xz sl0ppij-b15cfba6e1c6227395a4f8cd2a625bd75659092e.zip | |
Apply code review suggestions. Rename decorating_pipe to logging_pipe. Add plugin_id to plugin log. Move logger init from file to in-code initialization and change logging file to zellij directory. Change format of timestamp.
Diffstat (limited to 'default-plugins')
| -rw-r--r-- | default-plugins/status-bar/src/main.rs | 1 | ||||
| -rw-r--r-- | default-plugins/strider/src/main.rs | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/default-plugins/status-bar/src/main.rs b/default-plugins/status-bar/src/main.rs index e9e60fc3..83eb50c9 100644 --- a/default-plugins/status-bar/src/main.rs +++ b/default-plugins/status-bar/src/main.rs @@ -133,7 +133,6 @@ fn color_elements(palette: Palette) -> ColoredElements { impl ZellijPlugin for State { fn load(&mut self) { - dbg!("hello from load"); set_selectable(false); set_invisible_borders(true); set_fixed_height(2); diff --git a/default-plugins/strider/src/main.rs b/default-plugins/strider/src/main.rs index 7d80f014..8edc1e19 100644 --- a/default-plugins/strider/src/main.rs +++ b/default-plugins/strider/src/main.rs @@ -9,15 +9,11 @@ register_plugin!(State); impl ZellijPlugin for State { fn load(&mut self) { - dbg!("hello from load"); - dbg!("hello from load2?"); refresh_directory(self); subscribe(&[EventType::KeyPress]); } fn update(&mut self, event: Event) { - dbg!("hello from update"); - if let Event::KeyPress(key) = event { match key { Key::Up | Key::Char('k') => { |
