fix(plugins): multiple-select + compact-bar tooltip multiplayer issues (#4312)

* fix: allow stacking panes if root pane is floating

* fix: handle multiple client gracefully in multiple select

* style(fmt): rustfmt

* fix compact-bar tooltip multiuser duplication

* style(fmt): rustfmt
This commit is contained in:
Aram Drevekenin
2025-07-22 09:13:41 +02:00
committed by GitHub
parent ba680fc2eb
commit 6af82a9e99
11 changed files with 224 additions and 83 deletions
+10 -3
View File
@@ -1316,9 +1316,16 @@ pub fn stop_sharing_current_session() {
unsafe { host_run_plugin_command() };
}
pub fn group_and_ungroup_panes(pane_ids_to_group: Vec<PaneId>, pane_ids_to_ungroup: Vec<PaneId>) {
let plugin_command =
PluginCommand::GroupAndUngroupPanes(pane_ids_to_group, pane_ids_to_ungroup);
pub fn group_and_ungroup_panes(
pane_ids_to_group: Vec<PaneId>,
pane_ids_to_ungroup: Vec<PaneId>,
for_all_clients: bool,
) {
let plugin_command = PluginCommand::GroupAndUngroupPanes(
pane_ids_to_group,
pane_ids_to_ungroup,
for_all_clients,
);
let protobuf_plugin_command: ProtobufPluginCommand = plugin_command.try_into().unwrap();
object_to_stdout(&protobuf_plugin_command.encode_to_vec());
unsafe { host_run_plugin_command() };