aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/input (unfollow)
Commit message (Collapse)Author
2021-05-24Default mode 368a-kenji
* Parsing Implemented * Adds option to specify a default mode either through a flag `--options default-mode [MODE]`, or a configuration option `default_mode: [MODE]` closes #368
2021-05-16Big refactor: separate crates for client, server and utilitiesKunal Mohan
2021-05-15Use ClientToServerMsg and ServerToClientMsg for IPCKunal Mohan
2021-05-14Add `check` flag to the setup subcommanda-kenji
* The check option communicates default and config options to the user as well as optional compile time features * Move generate-completion from a subcommand to a flag in the setup subcommand
2021-05-13fix(input): forward unknown keys to active terminal (#501)Aram Drevekenin
* fix(input): forward unknown keys to active terminal * docs(changelog): update change
2021-05-12Fix Simplified Uia-kenji
Propagate the config now, in all the places, as opposed to fallback to a default.
2021-05-12fix(ui): handle pasted text properly (#494)Aram Drevekenin
* fix(ui): handle pasted text properly * style(fmt): rustfmt
2021-05-12Slight rework of config loading.a-kenji
Merges the cli and file configuration
2021-05-10!fixup Add Option for Simplified Layouta-kenji
* fix test
2021-05-10Pokea-kenji
2021-05-10Add Option for Simplified Layouta-kenji
* the simplified layout omits the Nerdfonts characters that are not found in every Fontset * add an optional config option to opt into the simplified ui `simplified_ui: bool` * add a config flag that allows opting into the simplified ui `zellij options --simplified-ui` * move the `clean` flag to the `setup` subcommand
2021-05-09New behavior for h and lDante Pippi
New behavior for h and l, will change tabs if there are no available panes in the direction. cargo clippy Ensuring atomicity for the MoveFocusOrTab - Blocking the input thread for the action MoveFocusOrTab - Using "unreachable" macro in match arm to make it clear that the directions Up and Down should not be used with the action MoveFocusOrTab Adding tests
2021-05-09Revert accidental rename of ToggleActiveSyncTabKyle Sutherland-Cash
2021-05-08First round of merging against server-client and color stuffKyle Sutherland-Cash
2021-05-07Moving the sync command to the Tab mode (#412)dantepippi
* Moving the sync command to the Tab mode * Fixing bug related to plugin panes and sync mode When sync mode was enabled the input from a plugin pane was being incorrectly ignored.
2021-05-07!fixup Add more Functionality to Unbinda-kenji
* Used the unbind
2021-05-07Add more Functionality to Unbinda-kenji
The default keybinds can be unbound either for a specific mode, or for every mode. It supports either a list of `keybinds`, or a bool indicating that every keybind should be unbound: ``` keybinds: unbind: true ``` Will unbind every default binding. ``` keybinds: unbind: [ Ctrl: 'p'] ``` Will unbind every default `^P` binding for each mode. ``` keybinds: normal: - unbind: true ``` Will unbind every default keybind for the `normal` mode. ``` keybinds: normal: - unbind: [ Alt: 'n', Ctrl: 'g'] ``` Will unbind every default keybind for `n` and `^g` for the `normal` mode.
2021-05-04Fix after rebaseKunal Mohan
2021-05-04remove Split, OpenFile and MoveFocus from CliArgsKunal Mohan
2021-05-04Refactor CommandIsExecuting to have a single variantKunal Mohan
2021-05-04Refactor ServerInstruction enum to use Action enumKunal Mohan
2021-05-04Fix after rebaseKunal Mohan
2021-05-04Fix after rebaseKunal Mohan
2021-05-04Move screen and plugins to client side.Kunal Mohan
Remove AppInstruction enum spawn pty thread, screen thread and plugin thread on demand
2021-05-04wip: helper functions for ServerInstructiondenis
2021-05-04client side threads should send messages directly to server and router ↵Kunal Mohan
threads should do the actual routing
2021-05-04split start into start_server and start_clientKunal Mohan
2021-05-04Fix after rebaseKunal Mohan
2021-05-04Synchronize update tabs actions using command_is_executingKunal Mohan
2021-05-04Divide OsApi into ClientOsApi and ServerOsApi and move calls to os threadKunal Mohan
2021-05-04isolate pty threadKunal Mohan
2021-05-02Enables the Default Config Testa-kenji
The split of test/no_test happens now in find_config_dir, it always returns Null in tests. That way differing configurations in tests shouldn't make the test fail anymore.
2021-05-02Disable Default Config Testa-kenji
For now, it fails if there is a local config, differing from the default config.
2021-05-02Rename install -> setupa-kenji
* Renaming of the install module to convey the intent more, move functions that install to a submodule install of setup.
2021-05-02Load config before start()Yutaka Kamei
Previously, a config file was loaded within `start()`, and if the config file is invalid, Zellij was supposed to show a user what's wrong with it. However, since `start()` starts setting up its terminal with an alternative screen buffer, neither standard output nor standard error could display such an error. This change intends to address this issue by making Zellij load a config file before `start()`. In addition, the patch also includes some refactorings: * Redefine `from_cli_config` with `TryFrom`, which was introduced in Rust 1.34 * Remove conditional declaration `cfg(not(test))` because `start()` now receive a `Config` as the third argument * Introduce [`tempfile`](https://crates.io/crates/tempfile) in order to run tests with actual files * Typo?: "Deserialisation" -> "Deserialization"
2021-05-01Don't commit to master like an idiot... :(Kyle Sutherland-Cash
2021-05-01Use Bus type for PTY thread (incomplete)Kyle Sutherland-Cash
2021-05-01fix: hello formatter my old friend...denis
2021-05-01chore: cleanup, fix: the tests finally passdenis
2021-04-28Defining sync keybind using default.yamlDante Pippi
2021-04-28cargo fmtDante Pippi
2021-04-28New feature: Synchronize text sent to panesDante Pippi
2021-04-28refactor(handler): refer to self.config.keybinds internallyYutaka Kamei
Because `handle_key` can refer to `self.config.keybinds` by itself, it doesn't have to receive the third argument. Also, this change may slightly improve the performance as it deletes `clone()`.
2021-04-27Config Loadinga-kenji
* Configuration is now handled in this order: --config flag ZELLIJ_CONFIG_FILE env get_default_config_dir() (directories-next) HOME/.config/zellij (for mac convenience) SYSTEM_DEFAULT_CONFIG_DIR (for distributions to specify sensible defaults ontop of zellij) from assets * Fix default.yaml file * Move default.yaml file to assets directory
2021-04-23fix(keybinding): fix tab modeJan Philipp Hafer
dont exit on simple 'q' press
2021-04-22chore(changelog): add entry to CHANGELOG.md and tweak formattingBrooks J Rady
2021-04-22add PGUP/PGDN to help infoHongjie Zhai
2021-04-21Chore(Rustfmt)a-kenji
2021-04-21Change Config To Flag (#290)a-kenji
This changes the `config` subcommand to a config flag. Add option subcommand for now, for the clearing of default path. Add `ZELLIJ_CONFIG` environment variable. The configuration locations are now as follows: * `--config` flag * `ZELLIJ_CONFIG` environment variable * default config location in that order.
2021-04-21add scroll pageHongjie Zhai