diff options
| author | Aram Drevekenin <aram@poor.dev> | 2026-07-09 16:52:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-09 16:52:50 +0200 |
| commit | 4bfda976b110b5d3182fca004ee7031f6322253e (patch) | |
| tree | ff16cdbec15673861ee0907181a25f709565b4fd /src/main.rs | |
| parent | fix: focus last pane correctness issues (#5344) (diff) | |
| download | sl0ppij-4bfda976b110b5d3182fca004ee7031f6322253e.tar.gz sl0ppij-4bfda976b110b5d3182fca004ee7031f6322253e.tar.xz sl0ppij-4bfda976b110b5d3182fca004ee7031f6322253e.zip | |
Allow creating panes/tabs from the CLI without changing focus to them (#5346)
* feat: allow opening panes and tabs from the cli without focusing them
* rustfmt
* fix flake
* rustfmt
* add pr
Diffstat (limited to '')
| -rw-r--r-- | src/main.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index a5faf7d3..30c9a00e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -50,6 +50,7 @@ fn main() { block_until_exit_failure, block_until_exit, near_current_pane, + no_focus, borderless, tab_id, })) = opts.command @@ -94,6 +95,7 @@ fn main() { block_until_exit: false, unblock_condition, near_current_pane, + no_focus, borderless, tab_id, }; @@ -112,6 +114,7 @@ fn main() { width, height, pinned, + no_focus, borderless, tab_id, })) = opts.command @@ -146,6 +149,7 @@ fn main() { block_until_exit: false, unblock_condition, near_current_pane: false, + no_focus, borderless, tab_id, }; @@ -166,6 +170,7 @@ fn main() { height, pinned, near_current_pane, + no_focus, borderless, tab_id, })) = opts.command @@ -191,6 +196,7 @@ fn main() { height, pinned, near_current_pane, + no_focus, borderless, tab_id, }; @@ -286,6 +292,7 @@ fn main() { block_until_exit_success: false, block_until_exit_failure: false, block_until_exit: false, + no_focus: false, }; commands::send_action_to_session(new_layout_cli_action, Some(session_name), config); } else { |
