Commit graph

318 commits

Author SHA1 Message Date
a-kenji
bcbde9fbb5 Merge branch 'main' of https://github.com/zellij-org/zellij into layout-path-506 2021-05-18 10:05:15 +02:00
a-kenji
dc067580f3 Fix Clippy Suggestions 2021-05-18 09:45:03 +02:00
Aram Drevekenin
a3f42b19a9
Osc implementation (#517)
* fix(compatibility): implement most osc methods

* style(fmt): rustfmt

* style(fmt): remove cargo warnings

* style(fmt): make clippy happy

* style(fmt): fix formatting after my clippy fixes broke it again ;P

* fix(grid): fix tests
2021-05-17 18:13:05 +02:00
Kunal Mohan
a872362328 fmt and clippy 2021-05-16 22:25:32 +05:30
Kunal Mohan
2038947a14 Big refactor: separate crates for client, server and utilities 2021-05-16 21:41:56 +05:30
Thomas Linford
28212f5430
handle error on termios initialization (#511) 2021-05-16 17:00:22 +01:00
a-kenji
197f318756 Merge branch 'main' of https://github.com/zellij-org/zellij into layout-path-506 2021-05-16 12:44:56 +02:00
a-kenji
abf0a2d0c6 Split Layout Flag
* Split Layout Flag into `layout` that searches in default layout
directories and `layout-path` that takes a path to a layout file

Close  #506.
2021-05-16 12:43:50 +02:00
Kunal Mohan
050d846b5e clean and exit on window close 2021-05-15 22:18:29 +05:30
Kunal Mohan
07ca0cbb11 Fix after rebase 2021-05-15 22:14:35 +05:30
Kunal Mohan
378dd90f8f Do not pass config_options while spawning server process 2021-05-15 22:14:35 +05:30
Kunal Mohan
41212dc0e8 Fix after rebase 2021-05-15 22:14:34 +05:30
Kunal Mohan
e203f96d78 fix testing 2021-05-15 22:14:34 +05:30
Kunal Mohan
c5675e965b Use ClientToServerMsg and ServerToClientMsg for IPC 2021-05-15 22:14:34 +05:30
Kunal Mohan
f2c43ac577 Fix memory overflow error and add panic hook for server 2021-05-15 22:14:34 +05:30
Kunal Mohan
0d792e26f2 Switch to multiprocess model: Not looking good 2021-05-15 22:14:34 +05:30
Matthias Beyer
fd42119219 Remove unused import
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-05-15 14:31:54 +02:00
a-kenji
fef150c8ff docs(changelog): Invert Asset Installation 2021-05-15 13:17:35 +02:00
a-kenji
ba206b1f29 Invert Assets Installation Feature
* changed `enable_automatic_asset_installation` to
`disable_automatic_asset_installation`

This ensures that people by default get the
asset installation and need to opt out at
compile time, rather than opt in.

* removed default features

Not needed anymore.
2021-05-15 12:45:24 +02:00
a-kenji
26cd36720b
Merge pull request #503 from a-kenji/check-setup
Add `check` flag to the setup subcommand
2021-05-14 11:57:57 +02:00
a-kenji
d667e5ed81 Add check flag to the setup subcommand
* 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-14 11:45:19 +02:00
Aram Drevekenin
8cdc7fbb69
fix(input): forward unknown keys to active terminal (#501)
* fix(input): forward unknown keys to active terminal

* docs(changelog): update change
2021-05-13 17:15:13 +02:00
Aram Drevekenin
b93e51cf88
fix(compatibility): implement device reports (#500)
* fix(compatibility): implement device reports

* docs(changelog): update change
2021-05-13 16:09:07 +02:00
a-kenji
4134c952f6 Merge branch 'main' of https://github.com/zellij-org/zellij into set-data-dir 2021-05-12 20:03:04 +02:00
a-kenji
ffd8f17a94 Add Complile Time System Directories
closes #380

* --features disable_automatic_asset_installation

disables automatic installation of the `data_dir`

* a set PREFIX env will use `$PREFIX/zellij` as its `data_dir`
2021-05-12 19:51:29 +02:00
a-kenji
db592cc840 Merge branch 'main' of https://github.com/zellij-org/zellij into fix-simplified-ui 2021-05-12 15:36:50 +02:00
a-kenji
776a2c5151 Fix Simplified Ui
Propagate the config now, in all the places, as opposed to
fallback to a default.
2021-05-12 15:27:28 +02:00
Aram Drevekenin
3f1ec7c295
fix(ui): handle pasted text properly (#494)
* fix(ui): handle pasted text properly

* style(fmt): rustfmt
2021-05-12 14:22:15 +02:00
Aram Drevekenin
9bb300e1c0
fix(compatibility): properly fill viewport with styles when clearing it (#493) 2021-05-12 11:27:53 +02:00
a-kenji
6ffd698d0a Slight rework of config loading.
Merges the cli and file configuration
2021-05-12 09:57:47 +02:00
a-kenji
38b8f64ae6
Merge pull request #479 from a-kenji/simple-font-ui
Add Option for Simplified Layout
2021-05-11 22:09:33 +02:00
a-kenji
1859abbb23 Change Ordering of the Default Config Directories
* since darwin doesn't have distinct data and config
  directories, assumptions that we had were invalid

* now the `HOME` config directory is loaded before the
  system config directory, in this case populating the
  data directory doesn't invalidate possible user configuration,
  because the configuration directory now exists
2021-05-11 13:24:26 +02:00
a-kenji
4b39699964
Merge branch 'main' into mac-config 2021-05-11 11:10:34 +02:00
a-kenji
a116f6e177 Fix Max Config Directory
closes  #485

* fixes a regression on the config directory handling on mac
2021-05-11 11:09:04 +02:00
Aram Drevekenin
073d39705e
Terminal compatibility: various behaviour fixes (#486)
* fix(compatibility): various behaviour fixes

* style(fmt): rustfmt

* style(fmt): thanks clippy for teaching me about matches!
2021-05-11 11:06:19 +02:00
a-kenji
5f2c5d2bda !fixup Add Option for Simplified Layout
* fix test
2021-05-10 21:21:19 +02:00
a-kenji
85a4e476f2 fixup! Merge branch 'main' of https://github.com/zellij-org/zellij into simple-font-ui 2021-05-10 20:54:39 +02:00
a-kenji
ef69644f1b fixup! Add Option for Simplified Layout
* merge structop and serde structs
2021-05-10 17:42:59 +02:00
a-kenji
e2514b411c
Merge branch 'main' into dump-config-exit 2021-05-10 17:24:19 +02:00
a-kenji
0abb165aec Fix exit code on dump-default-config 2021-05-10 17:14:00 +02:00
a-kenji
9c5f0a05c1 Poke 2021-05-10 17:08:30 +02:00
a-kenji
088bcf3dd8 Add Option for Simplified Layout
* 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-10 16:03:06 +02:00
Dante Pippi
62796c1a31 After rebase 2021-05-09 17:24:15 -03:00
Dante Pippi
9c09cf1658 New behavior for h and l
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-09 17:05:14 -03:00
Kyle Sutherland-Cash
3689d652ef And format... 2021-05-09 01:52:21 -07:00
Kyle Sutherland-Cash
0a17323bc4 Bit more module tidy up 2021-05-09 01:48:21 -07:00
Kyle Sutherland-Cash
74b5479629 Revert accidental rename of ToggleActiveSyncTab 2021-05-09 01:37:27 -07:00
Kyle Sutherland-Cash
ce92374f8e cargo fmt 2021-05-08 10:55:13 -07:00
Kyle Sutherland-Cash
4fb4faa28d Markups from self-review 2021-05-08 05:07:41 -07:00
Kyle Sutherland-Cash
9a3e8bcb84 First round of merging against server-client and color stuff 2021-05-08 04:32:31 -07:00