diff options
| author | Bartosz Zbytniewski <50180524+devzbysiu@users.noreply.github.com> | 2024-02-18 19:40:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-19 03:40:03 +0900 |
| commit | dd5ea26cc72f3c39e9f8b4d8452a42c9c2f85442 (patch) | |
| tree | e37c0d0b75d7edb7538c44ba10ba752d8ff68497 /zellij-utils/src/plugin_api/action.proto | |
| parent | docs(changelog): break pane fix (diff) | |
| download | sl0ppij-dd5ea26cc72f3c39e9f8b4d8452a42c9c2f85442.tar.gz sl0ppij-dd5ea26cc72f3c39e9f8b4d8452a42c9c2f85442.tar.xz sl0ppij-dd5ea26cc72f3c39e9f8b4d8452a42c9c2f85442.zip | |
feat: add moving tab to other position (#3047)
* feat: add moving tab to other position
* docs(changelog): revert changes
* test: update config snapshots
* refactor: get rid of HorizontalDirection enum
* refactor: cleanup code order
* refactor: use debug! instead of info!
* refactor: use more defensive way to switch tabs
* refactor: revert tip changes
* refactor: code formatting
* refactor: improve invalid input notification
* refactor: inline fns for calculating target index
---------
Co-authored-by: Jae-Heon Ji <atx6419@gmail.com>
Diffstat (limited to 'zellij-utils/src/plugin_api/action.proto')
| -rw-r--r-- | zellij-utils/src/plugin_api/action.proto | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zellij-utils/src/plugin_api/action.proto b/zellij-utils/src/plugin_api/action.proto index 0ed5b3b7..d59da4ad 100644 --- a/zellij-utils/src/plugin_api/action.proto +++ b/zellij-utils/src/plugin_api/action.proto @@ -54,6 +54,7 @@ message Action { string rename_session_payload = 45; LaunchOrFocusPluginPayload launch_plugin_payload = 46; CliPipePayload message_payload = 47; + MoveTabDirection move_tab_payload = 48; } } @@ -91,6 +92,11 @@ enum SearchOption { Wrap = 2; } +enum MoveTabDirection { + Left = 0; + Right = 1; +} + message LaunchOrFocusPluginPayload { string plugin_url = 1; bool should_float = 2; @@ -236,6 +242,7 @@ enum ActionName { RenameSession = 80; LaunchPlugin = 81; CliPipe = 82; + MoveTab = 83; } message Position { |
