diff options
Diffstat (limited to 'src/cli/spec.rs')
| -rw-r--r-- | src/cli/spec.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cli/spec.rs b/src/cli/spec.rs index 3be83328..a1efdac4 100644 --- a/src/cli/spec.rs +++ b/src/cli/spec.rs @@ -525,6 +525,17 @@ fn pane_command() -> Command { .arg(flag("clear")), ) .subcommand( + Command::new("input") + .about("Set pane input routing") + .arg(Arg::new("pane_id").value_name("PANE_ID")) + .args(current_pane_args()) + .arg( + option("right-click", "TARGET") + .value_parser(["herdr", "pane"]) + .required(true), + ), + ) + .subcommand( Command::new("split") .about("Split a pane") .arg(Arg::new("pane_id").value_name("PANE_ID")) @@ -533,6 +544,7 @@ fn pane_command() -> Command { .arg(option("ratio", "FLOAT")) .arg(path_option("cwd", "PATH")) .arg(env_option()) + .arg(option("right-click", "TARGET").value_parser(["herdr", "pane"])) .arg(flag("focus")) .arg(flag("no-focus")), ) |
