diff options
| author | Aram Drevekenin <aram@poor.dev> | 2024-12-01 11:06:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-01 11:06:44 +0100 |
| commit | 0c21eae6646d511944a85121433b9443a96c73aa (patch) | |
| tree | a5a091a4df73920dfbb03e2abfb1cb770ffbf44b /zellij-utils/src/plugin_api/plugin_command.proto | |
| parent | docs(changelog): ui component padding (diff) | |
| download | sl0ppij-0c21eae6646d511944a85121433b9443a96c73aa.tar.gz sl0ppij-0c21eae6646d511944a85121433b9443a96c73aa.tar.xz sl0ppij-0c21eae6646d511944a85121433b9443a96c73aa.zip | |
feat(plugins): allow changing the plugin's `/host` folder (under a new permission) (#3827)
* working without notifying plugins
* permissions and events
* cleanups and formatting
* style(fmt): rustfmt
Diffstat (limited to '')
| -rw-r--r-- | zellij-utils/src/plugin_api/plugin_command.proto | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zellij-utils/src/plugin_api/plugin_command.proto b/zellij-utils/src/plugin_api/plugin_command.proto index 5b58de14..4cc5c10c 100644 --- a/zellij-utils/src/plugin_api/plugin_command.proto +++ b/zellij-utils/src/plugin_api/plugin_command.proto @@ -127,6 +127,7 @@ enum CommandName { LoadNewPlugin = 111; RebindKeys = 112; ListClients = 113; + ChangeHostFolder = 114; } message PluginCommand { @@ -210,9 +211,14 @@ message PluginCommand { ReloadPluginPayload reload_plugin_payload = 86; LoadNewPluginPayload load_new_plugin_payload = 87; RebindKeysPayload rebind_keys_payload = 88; + ChangeHostFolderPayload change_host_folder_payload = 89; } } +message ChangeHostFolderPayload { + string new_host_folder = 1; +} + message RebindKeysPayload { repeated KeyToRebind keys_to_rebind = 1; repeated KeyToUnbind keys_to_unbind = 2; |
