diff options
| author | Aram Drevekenin <aram@poor.dev> | 2026-02-10 17:03:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-10 17:03:42 +0100 |
| commit | e160e9e7ee742f84d6f793ba4741cc422d3fae44 (patch) | |
| tree | c3473faad0c4914c64052c02d059142b1a7d8f1a /zellij-utils/src/client_server_contract | |
| parent | Improve plugin API ergonomics and add CLI goodies (#4690) (diff) | |
| download | sl0ppij-e160e9e7ee742f84d6f793ba4741cc422d3fae44.tar.gz sl0ppij-e160e9e7ee742f84d6f793ba4741cc422d3fae44.tar.xz sl0ppij-e160e9e7ee742f84d6f793ba4741cc422d3fae44.zip | |
Allow writing characters, bytes and keys to specific panes from the CLI (#4691)
* initial implementation
* fix tests
* implement zellij action send-keys
* rustfmt
* add test
* fix tests and add pr
Diffstat (limited to 'zellij-utils/src/client_server_contract')
| -rw-r--r-- | zellij-utils/src/client_server_contract/common_types.proto | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/zellij-utils/src/client_server_contract/common_types.proto b/zellij-utils/src/client_server_contract/common_types.proto index a0393034..2154dde4 100644 --- a/zellij-utils/src/client_server_contract/common_types.proto +++ b/zellij-utils/src/client_server_contract/common_types.proto @@ -222,18 +222,20 @@ message Action { CliPipeAction cli_pipe = 84; KeybindPipeAction keybind_pipe = 85; ListClientsAction list_clients = 86; - ListPanesAction list_panes = 98; TogglePanePinnedAction toggle_pane_pinned = 87; StackPanesAction stack_panes = 88; ChangeFloatingPaneCoordinatesAction change_floating_pane_coordinates = 89; - TogglePaneBorderlessAction toggle_pane_borderless = 95; - SetPaneBorderlessAction set_pane_borderless = 96; TogglePaneInGroupAction toggle_pane_in_group = 90; ToggleGroupMarkingAction toggle_group_marking = 91; SwitchSessionAction switch_session = 92; NewBlockingPaneAction new_blocking_pane = 93; OverrideLayoutAction override_layout = 94; + TogglePaneBorderlessAction toggle_pane_borderless = 95; + SetPaneBorderlessAction set_pane_borderless = 96; SaveSessionAction save_session = 97; + ListPanesAction list_panes = 98; + WriteCharsToPaneIdAction write_chars_to_pane_id = 99; + WriteToPaneIdAction write_to_pane_id = 100; } } @@ -320,6 +322,16 @@ message WriteCharsAction { string chars = 1; } +message WriteToPaneIdAction { + PaneId pane_id = 1; + repeated uint32 bytes = 2; +} + +message WriteCharsToPaneIdAction { + PaneId pane_id = 1; + string chars = 2; +} + message SwitchToModeAction { InputMode input_mode = 1; } |
