summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock65
-rw-r--r--Cargo.toml1
-rw-r--r--Makefile.toml2
-rw-r--r--default-plugins/status-bar/src/second_line.rs10
-rw-r--r--default-plugins/status-bar/src/tip/data/quicknav.rs7
-rw-r--r--example/themes/README.md4
-rw-r--r--example/themes/dracula.kdl17
-rw-r--r--example/themes/dracula.yaml16
-rw-r--r--example/themes/gruvbox-dark.kdl16
-rw-r--r--example/themes/gruvbox-dark.yaml15
-rw-r--r--example/themes/gruvbox-light.kdl16
-rw-r--r--example/themes/gruvbox-light.yaml15
-rw-r--r--example/themes/molokai-dark.kdl16
-rw-r--r--example/themes/molokai-dark.yaml15
-rw-r--r--example/themes/nord.kdl15
-rw-r--r--example/themes/nord.yaml16
-rw-r--r--example/themes/one-half-dark.kdl16
-rw-r--r--example/themes/one-half-dark.yaml15
-rw-r--r--example/themes/solarized-dark.kdl16
-rw-r--r--example/themes/solarized-dark.yaml15
-rw-r--r--example/themes/solarized-light.kdl16
-rw-r--r--example/themes/solarized-light.yaml15
-rw-r--r--example/themes/tokyo-night-dark.kdl0
-rw-r--r--example/themes/tokyo-night-light.kdl16
-rw-r--r--example/themes/tokyo-night-light.yaml16
-rw-r--r--example/themes/tokyo-night-storm.kdl16
-rw-r--r--example/themes/tokyo-night-storm.yaml16
-rw-r--r--example/themes/tokyo-night.kdl16
-rw-r--r--example/themes/tokyo-night.yaml16
-rw-r--r--src/commands.rs214
-rw-r--r--src/main.rs51
-rw-r--r--src/tests/e2e/cases.rs80
-rw-r--r--src/tests/e2e/remote_runner.rs56
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__bracketed_paste.snap4
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__close_pane.snap2
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__close_tab.snap4
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__detach_and_attach_session.snap2
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__focus_pane_with_mouse.snap4
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__mirrored_sessions.snap4
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__multiple_users_in_different_panes_and_same_tab-2.snap4
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__multiple_users_in_different_panes_and_same_tab.snap4
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__multiple_users_in_different_tabs-2.snap4
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__multiple_users_in_different_tabs.snap4
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__multiple_users_in_same_pane_and_tab-2.snap4
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__multiple_users_in_same_pane_and_tab.snap4
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__open_new_tab.snap2
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__resize_pane.snap2
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__resize_terminal_window.snap4
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__scrolling_inside_a_pane_with_mouse.snap4
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__split_terminals_vertically.snap2
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__start_without_pane_frames.snap4
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__starts_with_one_terminal.snap2
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__tmux_mode.snap4
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__typing_exit_closes_pane.snap2
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__undo_rename_pane.snap4
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__undo_rename_tab.snap4
-rw-r--r--src/tests/fixtures/configs/changed_keys.kdl12
-rw-r--r--src/tests/fixtures/configs/changed_keys.yaml26
-rw-r--r--src/tests/fixtures/layouts/parts-total-less-than-100-percent.yaml19
-rw-r--r--src/tests/fixtures/layouts/parts-total-more-than-100-percent.yaml20
-rw-r--r--src/tests/fixtures/layouts/three-panes-with-nesting.yaml17
-rw-r--r--zellij-client/Cargo.toml3
-rw-r--r--zellij-client/src/cli_client.rs34
-rw-r--r--zellij-client/src/fake_client.rs184
-rw-r--r--zellij-client/src/input_handler.rs92
-rw-r--r--zellij-client/src/lib.rs20
-rw-r--r--zellij-client/src/old_config_converter/convert_old_yaml_files.rs332
-rw-r--r--zellij-client/src/old_config_converter/mod.rs6
-rw-r--r--zellij-client/src/old_config_converter/old_config.rs1292
-rw-r--r--zellij-client/src/old_config_converter/old_layout.rs557
-rw-r--r--zellij-client/src/old_config_converter/unit/convert_config_tests.rs126
-rw-r--r--zellij-client/src/old_config_converter/unit/convert_layout_tests.rs142
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/multiple_tabs_layout.yaml (renamed from src/tests/fixtures/layouts/focus-tab-layout.yaml)2
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/multiple_tabs_layout_htop_command.yaml93
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/old_default_yaml_config.yaml (renamed from zellij-utils/assets/config/default.yaml)4
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/old_default_yaml_layout.yaml (renamed from zellij-utils/assets/layouts/default.yaml)0
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/old_yaml_config_with_custom_options.yaml639
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/old_yaml_config_with_env_variables.yaml644
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/old_yaml_config_with_global_keybind_unbinds.yaml639
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/old_yaml_config_with_themes.yaml677
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/old_yaml_config_with_ui.yaml643
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/old_yaml_config_with_unbind_all_keys_per_mode.yaml639
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/old_yaml_config_with_unbinds_in_mode.yaml640
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/old_yaml_layout_with_config.yaml34
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/old_yaml_layout_with_config_and_session_name.yaml36
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/old_yaml_layout_with_session_name.yaml (renamed from zellij-utils/assets/layouts/strider.yaml)10
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/old_yaml_layout_with_session_name_and_attach_false.yaml (renamed from zellij-utils/src/input/unit/fixtures/layouts/three-panes-with-tab-and-default-plugins.yaml)19
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/run_htop_layout.yaml (renamed from zellij-utils/src/input/unit/fixtures/layouts/three-panes-with-tab.yaml)14
-rw-r--r--zellij-client/src/old_config_converter/unit/fixtures/run_htop_layout_with_plugins.yaml35
-rw-r--r--zellij-client/src/old_config_converter/unit/snapshots/zellij_client__old_config_converter__old_config__convert_config_test__convert_config_with_custom_options.snap411
-rw-r--r--zellij-client/src/old_config_converter/unit/snapshots/zellij_client__old_config_converter__old_config__convert_config_test__convert_config_with_env_variables.snap415
-rw-r--r--zellij-client/src/old_config_converter/unit/snapshots/zellij_client__old_config_converter__old_config__convert_config_test__convert_config_with_global_keybind_unbinds.snap411