diff options
| author | Aram Drevekenin <aram@poor.dev> | 2025-07-01 20:17:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-01 20:17:37 +0200 |
| commit | ca0048bdcb6d5f3bc0d7f05806efe1319a218e93 (patch) | |
| tree | 38c61a2251b8126530098babc414a70d0b4ea0c9 /src | |
| parent | docs(changelog): replace pane API (diff) | |
| download | sl0ppij-ca0048bdcb6d5f3bc0d7f05806efe1319a218e93.tar.gz sl0ppij-ca0048bdcb6d5f3bc0d7f05806efe1319a218e93.tar.xz sl0ppij-ca0048bdcb6d5f3bc0d7f05806efe1319a218e93.zip | |
feat: stack pane action (#4255)
* refactor: group placement properties
* add stackpane cli and keybinding
* add test
* refactor: move spawn vertically/horizontally to spawnterminal
* fix tests and cleanups
* some cleanups and minor fixes
* more cleanups
* add stack action to the UI
* style(fmt): rustfmt
* fix serialization
* add to default config
* fix e2e tests
* style(fmt): rustfmt
* fix cli
* fix tests
* docs(changelog): add PR
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 4 | ||||
| -rw-r--r-- | src/tests/e2e/cases.rs | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 731774e7..4720a13a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -38,6 +38,7 @@ fn main() { width, height, pinned, + stacked, })) = opts.command { let cwd = cwd.or_else(|| std::env::current_dir().ok()); @@ -59,6 +60,7 @@ fn main() { width, height, pinned, + stacked, }; commands::send_action_to_session(command_cli_action, opts.session, config); std::process::exit(0); @@ -77,6 +79,7 @@ fn main() { })) = opts.command { let cwd = None; + let stacked = false; let command_cli_action = CliAction::NewPane { command: vec![], plugin: Some(url), @@ -94,6 +97,7 @@ fn main() { width, height, pinned, + stacked, }; commands::send_action_to_session(command_cli_action, opts.session, config); std::process::exit(0); diff --git a/src/tests/e2e/cases.rs b/src/tests/e2e/cases.rs index 50373428..876e53b7 100644 --- a/src/tests/e2e/cases.rs +++ b/src/tests/e2e/cases.rs @@ -1045,7 +1045,6 @@ pub fn resize_terminal_window() { name: "wait for terminal to be resized and app to be re-rendered", instruction: |remote_terminal: RemoteTerminal| -> bool { let mut step_is_complete = false; - eprintln!("current_snapshot: {}", remote_terminal.current_snapshot()); if remote_terminal.cursor_position_is(53, 2) && remote_terminal.ctrl_plus_appears() { // size has been changed |
