aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands.rs (follow)
Commit message (Collapse)AuthorAge
...
* add(feature): `unstable` (#1542)a-kenji2022-06-25
| | | | | | Add a feature `unstable`, which is intended to communicate the same intent. Gate: Send actions from cli with the `unstable` feature.
* fix(clippy): clippy fixes (#1508)a-kenji2022-06-15
| | | | | * fix(clippy): clippy fixes * chore(fmt): cargo fmt
* feat: add capability to dispatch actions from cli (#1265)a-kenji2022-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: add capability to dispatch actions from cli Add capability to dispatch actions from the cli. Can be invoked through `zellij action [actions]` Automatically sends the action either to the current session, or if there is only one session to the single session. If there are multiple sessions, and no session is specified it will error out. Example: 1. ``` zellij action "[NewTab: , NewTab: ]" ``` 2. ``` zellij -s fluffy-cat action '[NewPane: , WriteChars: "echo Purrr\n" ]' ``` 3. ``` zellij -s fluffy-cat action '[ CloseTab, ] ``` * add: error message on malformed input Add an error message on malformed input, for the `action`'s dispatch. Rather than resulting in a panic. * add: function to query the client id * add: send specific actions to certain clients Adds ability to send actions, that don't impact the server state to all connected clients. For example `MoveFocus` * add: client_id to non blocking actions * chore(fmt): `cargo fmt` * add: pick correct session, if there is exactly one * add: use correct `client_id` for detach action * add: make `[ ]` opaque to the user * add: miette to toplevel to improve error message * add: fake client reading configuration Add the fake client reading configuration files, this allows actions, that rely on configuration work correctly. This is an intermediate solution, and should ideally not be needed. It would be better if most of this state would be handled by the server itself. * chore(fmt): rustmt * add: ability to detach multiple clients Add ability to detach multiple clients at the same time. * remove: obsolete functionality * remove: unused functionality * add: send correct action upon exiting * chore(update): cargo update
* add(style): add trailing comma in match blocks (#1483)a-kenji2022-06-10
| | | This makes it easier to distinguish from normal blocks
* feat: Attach sessions by unique prefix name (#1169) (#1360)raphCode2022-05-03
| | | | | | | | | | | | | | | * feat: Attach sessions by unique name prefix (#1169) This makes attaching to sessions more convenient since only the first character(s) of the session name must be typed. If this prefix matches multiple sessions and is therefore ambiguous, zellij will complain and show all sessions names starting with these characters. If any session name matches the given string exact, it is attached immediately, therefore it is always possible to attach to every session, even if the set of session names is not prefix-free. * Add feature to changelog * Try to fix flaky e2e test
* fix: change the way sessions are sorted (#1347)Jae-Heon Ji2022-04-29
| | | | | * chore: add TODO comment * feat: change the sort method to mtime
* fix: minor system improvements (#1328)Jae-Heon Ji2022-04-16
|
* fix(feat): `disable_automatic_asset_installation` (#1226)a-kenji2022-03-17
| | | | | | | | | | | | | | | | | | * fix(feat): `disable_automatic_asset_installation` This fixes a regression in the feature system: The asset installation didn't get turned off by the feature. Add error logging to the install functions. Properly show features in setup disable `mkdir` in `wasm_vm` on `feature-disable-asset-installation` Alternative: Is this even needed? We make sure the directory is there upon the normal asset installation. fixes #1130
* fix(commands): add install default assets (#961)Jae-Heon Ji2021-12-29
|
* fix(style): various internal refactoringsMarcin Puc2021-12-07
|
* Prevent a zellij session from attaching to itself. (#911)Kunal Mohan2021-11-30
| | | | | | * fix #905 Prevent a zellij session from attaching to itself. * Add check while attaching using index as well
* add(feature): toggle boolean options with cli flag (#855)a-kenji2021-11-10
| | | | | | | | add the ability to toggle boolean options with a cli flag: example: if the pane frames are turned off in the config file, then passing in the `--no-pane-frames` flag will toggle the pane frames on
* fix(match): Make match arms much simpler (#844)Ken Matsui2021-11-09
|
* feat: add initial session name to layout template (#789)Jae-Heon Ji2021-11-08
| | | | | | | | | | | | | | | | | | | | | * feat: add session configuration to layout template WIP: prototyping for issue #611 * test(layout): add session name * feat(layout): add cond flow to check session name * feat(layout): update session * feat: add function to attach a session * fix(layout): update feedback * attach option only works when layout template exists. * feat(layout): add conditional for session-layout * update default attach value
* fix(main): Refactor src/main.rs by splitting one massive main function into ↵Ken Matsui2021-11-05
commands.rs (#829) * fix(main): Remove unnecessary pub visibility from the main function in `src/main.rs` * fix(main): Avoid unnecessary if-evaluations in the main function of `src/main.rs` * fix(commands): Simplify kill_all_sessions