summaryrefslogtreecommitdiffstats
path: root/zellij-server/src/screen.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2022-02-21 18:01:35 +0100
committerGitHub <noreply@github.com>2022-02-21 18:01:35 +0100
commit9fa94970cc78345a4c9ca051f16d6510ecc51297 (patch)
tree6d0ed17a9535b477deabc9d65d0e3dfa53df9321 /zellij-server/src/screen.rs
parenta3e69fe6da71638666522e42adb7aed6b5cfe52c (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.rs3
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) => {