diff options
| author | Aram Drevekenin <aram@poor.dev> | 2022-03-18 10:32:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-18 10:32:43 +0100 |
| commit | ab74b9974ac73dbae9dfdd4f87f8a3c0bf89e69e (patch) | |
| tree | 165a49ba935694a11f8816b2e68a401b6ddf23e3 /zellij-server/src/unit | |
| parent | Update `rust-toolchain` (#1236) (diff) | |
| download | sl0ppij-ab74b9974ac73dbae9dfdd4f87f8a3c0bf89e69e.tar.gz sl0ppij-ab74b9974ac73dbae9dfdd4f87f8a3c0bf89e69e.tar.xz sl0ppij-ab74b9974ac73dbae9dfdd4f87f8a3c0bf89e69e.zip | |
refactor(tab): move tiled panes to their own module (#1239)
* work
* tests passing
* simplify render state
* move more stuff to state
* moved tiled panes outside
* move files around
* style(fmt): rustfmt
Diffstat (limited to 'zellij-server/src/unit')
| -rw-r--r-- | zellij-server/src/unit/screen_tests.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/zellij-server/src/unit/screen_tests.rs b/zellij-server/src/unit/screen_tests.rs index dd88d5eb..cf9b89b5 100644 --- a/zellij-server/src/unit/screen_tests.rs +++ b/zellij-server/src/unit/screen_tests.rs @@ -458,10 +458,9 @@ fn switch_to_tab_with_fullscreen() { screen .get_active_tab(1) .unwrap() - .active_panes - .get(&1) + .get_active_pane_id(1) .unwrap(), - &PaneId::Terminal(2), + PaneId::Terminal(2), "Active pane is still the fullscreen pane" ); } |
