diff options
author | Aram Drevekenin <aram@poor.dev> | 2024-07-08 11:43:43 +0200 |
---|---|---|
committer | Aram Drevekenin <aram@poor.dev> | 2024-07-08 11:43:43 +0200 |
commit | 023cfad1571237ca9adf2f56c15c47affb3f19ac (patch) | |
tree | 4e47e791c6604ec56f67396c7ea463baad5fecd0 | |
parent | 7700b44383a673199f078ffdbc352fdc74b41512 (diff) |
style(fmt): rustfmtfix-cursor-caching
-rw-r--r-- | zellij-server/src/tab/mod.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/zellij-server/src/tab/mod.rs b/zellij-server/src/tab/mod.rs index e03a31193..92e9eeb94 100644 --- a/zellij-server/src/tab/mod.rs +++ b/zellij-server/src/tab/mod.rs @@ -217,7 +217,9 @@ pub trait Pane { fn handle_pty_bytes(&mut self, _bytes: VteBytes) {} fn handle_plugin_bytes(&mut self, _client_id: ClientId, _bytes: VteBytes) {} fn cursor_coordinates(&self) -> Option<(usize, usize)>; - fn is_mid_frame(&self) -> bool { false } + fn is_mid_frame(&self) -> bool { + false + } fn adjust_input_to_terminal( &mut self, _key_with_modifier: &Option<KeyWithModifier>, @@ -2059,7 +2061,9 @@ impl Tab { || previous_shape != &desired_cursor_shape }) .unwrap_or(true); - let active_terminal_is_mid_frame = self.active_terminal_is_mid_frame(client_id).unwrap_or(false); + let active_terminal_is_mid_frame = self + .active_terminal_is_mid_frame(client_id) + .unwrap_or(false); if active_terminal_is_mid_frame { // no-op, this means the active terminal is currently rendering a frame, |