aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/plugin_api
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2026-02-10 17:03:42 +0100
committerGitHub <noreply@github.com>2026-02-10 17:03:42 +0100
commite160e9e7ee742f84d6f793ba4741cc422d3fae44 (patch)
treec3473faad0c4914c64052c02d059142b1a7d8f1a /zellij-utils/src/plugin_api
parentImprove plugin API ergonomics and add CLI goodies (#4690) (diff)
downloadsl0ppij-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/plugin_api')
-rw-r--r--zellij-utils/src/plugin_api/action.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/zellij-utils/src/plugin_api/action.rs b/zellij-utils/src/plugin_api/action.rs
index 534c0082..92dc618c 100644
--- a/zellij-utils/src/plugin_api/action.rs
+++ b/zellij-utils/src/plugin_api/action.rs
@@ -1030,6 +1030,9 @@ impl TryFrom<Action> for ProtobufAction {
chars: chars_to_write,
})),
}),
+ Action::WriteToPaneId { .. } | Action::WriteCharsToPaneId { .. } => {
+ Err("WriteToPaneId and WriteCharsToPaneId are CLI-only actions, not available in keybindings")
+ },
Action::SwitchToMode { input_mode } => {
let input_mode: ProtobufInputMode = input_mode.try_into()?;
Ok(ProtobufAction {