mirror of
https://github.com/zellij-org/zellij.git
synced 2026-10-11 22:50:07 +00:00
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:
+10
-3
@@ -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() };
|
||||
|
||||
Reference in New Issue
Block a user