diff options
| author | Aram Drevekenin <aram@poor.dev> | 2025-01-30 17:04:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-30 17:04:36 +0100 |
| commit | c4cb9d3d8138346f3257fdcdd6a8f9967b88a402 (patch) | |
| tree | afafe8f7184e2c29bbfa1fe2f81d86c9d23a9fdc /zellij-utils/assets/prost/api.event.rs | |
| parent | docs(changelog): stacked resize (diff) | |
| download | sl0ppij-c4cb9d3d8138346f3257fdcdd6a8f9967b88a402.tar.gz sl0ppij-c4cb9d3d8138346f3257fdcdd6a8f9967b88a402.tar.xz sl0ppij-c4cb9d3d8138346f3257fdcdd6a8f9967b88a402.zip | |
feat(plugins): API to change floating pane coordinates (#3958)
* basic functionality through the cli
* added to plugin api
* add display area and viewport size to TabInfo
* fix tests and add new one
* some cleanups
* refactor: extract pane_id parsing logic
* style(fmt): rustfmt
Diffstat (limited to 'zellij-utils/assets/prost/api.event.rs')
| -rw-r--r-- | zellij-utils/assets/prost/api.event.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zellij-utils/assets/prost/api.event.rs b/zellij-utils/assets/prost/api.event.rs index b6572a41..46cbfa9e 100644 --- a/zellij-utils/assets/prost/api.event.rs +++ b/zellij-utils/assets/prost/api.event.rs @@ -406,6 +406,14 @@ pub struct TabInfo { pub active_swap_layout_name: ::core::option::Option<::prost::alloc::string::String>, #[prost(bool, tag = "10")] pub is_swap_layout_dirty: bool, + #[prost(uint32, tag = "11")] + pub viewport_rows: u32, + #[prost(uint32, tag = "12")] + pub viewport_columns: u32, + #[prost(uint32, tag = "13")] + pub display_area_rows: u32, + #[prost(uint32, tag = "14")] + pub display_area_columns: u32, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] |
