zellij/zellij-server/src
spacemaison 4f94f95c90
feat(cwd-pane): Keeping the cwd when opening new panes (#691)
* feat(cwd-pane): Add a new trait to get the cwd of a given pid

Co-authored-by: Quentin Rasmont <qrasmont@gmail.com>

* feat(cwd-pane): Allow for setting the cwd when spawning a new terminal

Co-authored-by: Quentin Rasmont <qrasmont@gmail.com>

* feat(cwd-pane): Add an active_pane field to the Pty struct

Co-authored-by: Quentin Rasmont <qrasmont@gmail.com>

* feat(cwd-pane): Update Pty with Tab's active pane id

Co-authored-by: Quentin Rasmont <qrasmont@gmail.com>

* feat(cwd-pane): Refactor spawn_terminal to use cwd by default

Co-authored-by: Quentin Rasmont <qrasmont@gmail.com>

* feat(cwd-pane): Fix tests and lints

Co-authored-by: Quentin Rasmont <qrasmont@gmail.com>

* feat(cwd-pane): Fix formatting

* feat(cwd-pane): Refactor child pid fetching to handle errors better

Instead of panicking when transfering the process id of the forked child
command we just return an empty process id.

* feat(cwd-pane): Add non Linux/MacOS targets for the get_cwd method.

This will allow Zellij to compile on non Linux/MacOS targets without
having an inherited cwd.

* feat(cwd-pane): Refactor spawn_terminal method to use ChildId struct.

The spawn_terminal methods been refactored to use the ChildId struct in
order to clarify what the Pid's returned by it are. The documentation
for the ChildId struct was improved as well.

* feat(cwd-pane): Fix tests/lints

Co-authored-by: Jesse Tuchsen <not@disclosing>
Co-authored-by: Quentin Rasmont <qrasmont@gmail.com>
2021-09-10 17:35:06 +02:00
..
panes style(clippy): various fixes (#704) 2021-09-09 10:24:03 +02:00
ui fix(borders): properly handle wide chars in pane titles (#698) 2021-09-06 20:24:47 +02:00
unit feat(cwd-pane): Keeping the cwd when opening new panes (#691) 2021-09-10 17:35:06 +02:00
lib.rs feat(ui): overhauled resize and layout systems 2021-08-28 17:46:24 +01:00
logging_pipe.rs style(clippy): various fixes (#704) 2021-09-09 10:24:03 +02:00
os_input_output.rs feat(cwd-pane): Keeping the cwd when opening new panes (#691) 2021-09-10 17:35:06 +02:00
pty.rs feat(cwd-pane): Keeping the cwd when opening new panes (#691) 2021-09-10 17:35:06 +02:00
route.rs Merge branch 'tab-layout' of https://github.com/a-kenji/zellij into a-kenji-tab-layout 2021-08-24 10:58:36 +02:00
screen.rs fix(tabs): force render by index rather than by position (#684) 2021-09-01 16:43:42 +02:00
tab.rs feat(cwd-pane): Keeping the cwd when opening new panes (#691) 2021-09-10 17:35:06 +02:00
thread_bus.rs chore(tests): move all integration tests to be either unit or e2e tests - remove old testing infra (#589) 2021-06-30 11:27:35 +02:00
wasm_vm.rs feat(plugin): add exec_cmd helper for executing command in host 2021-09-09 11:45:03 +01:00