From cdef256a544a792bbc5842cfcbd6ff01080afc78 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Wed, 15 Jun 2022 11:43:36 +0200 Subject: [PATCH] docs(changelog): add action dispatch from cli --- CHANGELOG.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b0168fd36..716d4fa26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,30 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) * fix: update cli tooltips (https://github.com/zellij-org/zellij/pull/1488) * refactor: deduplicate code in `screen.rs` (https://github.com/zellij-org/zellij/pull/1453) * chore(dependencies): update `clap`: `3.1.18` -> `3.2.2` (https://github.com/zellij-org/zellij/pull/1496) +* add: capability to dispatch actions from the cli (https://github.com/zellij-org/zellij/pull/1265) + Can be invoked through `zellij action [ACTIONS]`. + + Automatically sends the action to the current session, or if there is just one + to the single session, if there are multiple sessions, then the session name + must be specified. + + Example: + + ``` + zellij + zellij action NewTab: + ``` + + Send actions to a specific session: + ``` + zellij -s fluffy-cat + zellij -s fluffy-cat action 'NewPane: , WriteChars: "echo Purrr\n"' + ``` + + Open `htop` in a new tab: + ``` + zj action "NewTab: {run: {command: {cmd: htop}}}" + ``` ## [0.30.0] - 2022-06-07 * fix: right and middle clicks creating selection (https://github.com/zellij-org/zellij/pull/1372)