diff options
author | har7an <99636919+har7an@users.noreply.github.com> | 2024-04-04 13:26:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 13:26:42 +0000 |
commit | cf18fb386750b7e17c063d5944f82c1f1c8303f5 (patch) | |
tree | c30cab056624ea6050dbf0f5f6f85da529841974 /zellij-utils/src/cli.rs | |
parent | d267948689a30a276adbe9e7cedf2be792d15b73 (diff) |
utils/cli: Add `move-tab` action (#3244)
* utils/cli: Add `move-tab` action
which was previously only exposed through keybindings.
* CHANGELOG: Add PR 3244.
Diffstat (limited to 'zellij-utils/src/cli.rs')
-rw-r--r-- | zellij-utils/src/cli.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zellij-utils/src/cli.rs b/zellij-utils/src/cli.rs index f224b5ef1..0388e5999 100644 --- a/zellij-utils/src/cli.rs +++ b/zellij-utils/src/cli.rs @@ -617,6 +617,10 @@ pub enum CliAction { #[clap(short, long, value_parser, requires("layout"))] cwd: Option<PathBuf>, }, + /// Move the focused tab in the specified direction. [right|left] + MoveTab { + direction: Direction, + }, PreviousSwapLayout, NextSwapLayout, /// Query all tab names |