aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2023-09-10 11:46:55 +0200
committerDaniel Jankowski <daniel.jankowski@rub.de>2023-09-10 11:46:55 +0200
commit0fa8c54f83bbd0372cffc8ec396f67a8596b10ac (patch)
tree9cb5fdb6fe03f776af5836db90be028def2c6293 /src/main.rs
parentchore: move from unmaintained ansi_term to anstyle (diff)
downloadsl0pstatus-0fa8c54f83bbd0372cffc8ec396f67a8596b10ac.tar.gz
sl0pstatus-0fa8c54f83bbd0372cffc8ec396f67a8596b10ac.tar.xz
sl0pstatus-0fa8c54f83bbd0372cffc8ec396f67a8596b10ac.zip
chore: raise rust-toolchain + add components
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index ef189ce..873abf8 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -66,8 +66,11 @@ impl ZellijPlugin for State {
let mut should_render = false;
match event {
Event::Mouse(mouse_info) => {
- self.module_config
- .handle_mouse_action(self.state.clone(), mouse_info, self.widget_map.clone());
+ self.module_config.handle_mouse_action(
+ self.state.clone(),
+ mouse_info,
+ self.widget_map.clone(),
+ );
}
Event::ModeUpdate(mode_info) => {
self.state.mode = mode_info;