diff options
author | Aram Drevekenin <aram@poor.dev> | 2022-02-21 18:01:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 18:01:35 +0100 |
commit | 9fa94970cc78345a4c9ca051f16d6510ecc51297 (patch) | |
tree | 6d0ed17a9535b477deabc9d65d0e3dfa53df9321 /zellij-server/src/screen.rs | |
parent | a3e69fe6da71638666522e42adb7aed6b5cfe52c (diff) |
fix(ui): floating panes UI (#1074)
* basic ui
* update plugins
* rustfmt
Diffstat (limited to 'zellij-server/src/screen.rs')
-rw-r--r-- | zellij-server/src/screen.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zellij-server/src/screen.rs b/zellij-server/src/screen.rs index 4eebbeb91..4145e0c29 100644 --- a/zellij-server/src/screen.rs +++ b/zellij-server/src/screen.rs @@ -605,6 +605,7 @@ impl Screen { panes_to_hide: tab.panes_to_hide.len(), is_fullscreen_active: tab.is_fullscreen_active(), is_sync_panes_active: tab.is_sync_panes_active(), + are_floating_panes_visible: tab.are_floating_panes_visible(), other_focused_clients, }); } @@ -768,6 +769,7 @@ pub(crate) fn screen_thread_main( .senders .send_to_server(ServerInstruction::UnblockInputThread) .unwrap(); + screen.update_tabs(); // update tabs so that the ui indication will be send to the plugins screen.render(); } ScreenInstruction::ToggleFloatingPanes(client_id, default_shell) => { @@ -780,6 +782,7 @@ pub(crate) fn screen_thread_main( .senders .send_to_server(ServerInstruction::UnblockInputThread) .unwrap(); + screen.update_tabs(); // update tabs so that the ui indication will be send to the plugins screen.render(); } ScreenInstruction::HorizontalSplit(pid, client_id) => { |