Kunal Mohan
77682d9ab5
Use ipmpsc crate for IPC
2021-05-04 20:47:49 +05:30
Kunal Mohan
1ee86f9a77
Introduce serlializable ClientInstruction and Rename ApiCommand
2021-05-04 20:47:49 +05:30
Kunal Mohan
858e48c6aa
do not hang on exit
2021-05-04 20:47:49 +05:30
Kunal Mohan
c0e87df14c
remove logs
2021-05-04 20:47:49 +05:30
Kunal Mohan
75b07cc6c8
Undo some changes
2021-05-04 20:47:49 +05:30
Kunal Mohan
aef52b0690
Use interprocess crate, BufReader and BufWriter
2021-05-04 20:47:49 +05:30
Kunal Mohan
2943dc7b3b
Got things working! But we are loosing data in transmission :( PS: There are debug logs in there
2021-05-04 20:47:49 +05:30
Kunal Mohan
6fc1a5bf92
another try
2021-05-04 20:47:49 +05:30
Kunal Mohan
7beb246250
try fixes
2021-05-04 20:47:48 +05:30
Kunal Mohan
685e2eef0c
Introduce IpcSenderWithContext
2021-05-04 20:47:48 +05:30
Kunal Mohan
588cdaa008
isolate pty thread
2021-05-04 20:47:48 +05:30
a-kenji
993a6fdf0a
Rename install -> setup
...
* Renaming of the install module to convey the intent more,
move functions that install to a submodule install of setup.
2021-05-02 15:59:02 +02:00
denis
d48cc81536
fix: don't have new on ColoredElements anymore, removed default for palette in zellij-tile
2021-05-02 12:25:49 +03:00
denis
452940fb65
Merge branch 'main' into x-colors
2021-05-02 11:59:20 +03:00
Yutaka Kamei
168deabea7
Load config before start()
...
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-02 06:18:40 +09:00
Kyle Sutherland-Cash
69d34c3e09
Don't commit to master like an idiot... :(
2021-05-01 09:32:30 -07:00
Kyle Sutherland-Cash
2eadcb86a5
Bit of renaming
2021-05-01 09:22:21 -07:00
Kyle Sutherland-Cash
e7d8aefa79
Simplify some names and start using Bus in the plugin thread
2021-05-01 09:11:22 -07:00
Kyle Sutherland-Cash
bb2369dcb8
Use Bus type for PTY thread (incomplete)
2021-05-01 08:48:58 -07:00
Kyle Sutherland-Cash
ae6192d698
Use Bus type for screen thread
2021-05-01 08:26:57 -07:00
Kyle Sutherland-Cash
f01887463f
Define shared bus type
2021-05-01 08:26:31 -07:00
denis
f85822972a
chore: cleanup, fix: the tests finally pass
2021-05-01 14:44:43 +03:00
denis
eabecde90b
chore: painless merge this time
2021-05-01 13:45:01 +03:00
a-kenji
153119de02
Fix Startup with Default in Same Folder
...
Doesn't try loading `default` files, other than
the plugin directory by default anymore.
2021-04-29 18:00:55 +02:00
Dante Pippi
62662464e3
Including text on tab name to let users know sync is on.
2021-04-28 11:16:06 -03:00
Dante Pippi
6769627c36
cargo fmt
2021-04-28 11:16:06 -03:00
Dante Pippi
1a84c5f4ec
New feature: Synchronize text sent to panes
2021-04-28 11:15:58 -03:00
a-kenji
55d2a4cea9
Merge branch 'main' of https://github.com/zellij-org/zellij into config-loading
2021-04-27 21:40:13 +02:00
a-kenji
77e0b5e0d7
Config Loading
...
* 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-27 21:38:26 +02:00
Brooks J Rady
e163bd56e7
feat(plugin): simple timers implemented via the set_timeout() call
2021-04-27 17:13:25 +01:00
Brooks J Rady
3d926d6c03
feat(plugin): come back to this commit if you need high-performance timers
2021-04-27 16:05:01 +01:00
Brooks J Rady
2814c30272
feat(plugin): added the get_plugin_ids() query function
2021-04-27 14:57:54 +01:00
denis
de72d3d2fb
wip: tab bar coloring
2021-04-24 11:42:40 +03:00
denis
ae3537957b
wip: new build?"
2021-04-22 12:10:41 +03:00
denis
8d98ca7da0
wip: merge main in
2021-04-22 11:45:29 +03:00
Brooks Rady
19fc0496a3
feat(actions): allow scrolling by full pages
...
PR #298
2021-04-22 00:25:43 +01:00
a-kenji
8823bef7c1
Add ZELLIJ Environment Varable on startup( #304 )
...
Makes it easy and flexible to check
whether zellij is already running.
This carries no further information
for now and is initialised to `0`.
closes 304.
2021-04-21 15:26:05 +02:00
a-kenji
2c12e8ff83
Change Config To Flag ( #290 )
...
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-21 09:03:46 +02:00
Hongjie Zhai
fad088a868
add scroll page
2021-04-21 14:27:58 +09:00
Brooks J Rady
af702b67e6
feat(build): vastly simplify the build system
2021-04-14 19:08:22 +01:00
denis
e5526df46a
Merge branch 'main' into x-colors
2021-04-13 11:30:54 +03:00
Kunal Mohan
6b643badc5
doc fixes
2021-04-12 20:33:22 +05:30
Kunal Mohan
870d6d02b5
restore terminal snapshot on panic
2021-04-12 20:33:22 +05:30
Kunal Mohan
380d69978c
make error model more autonomous
2021-04-12 20:33:22 +05:30
Aram Drevekenin
313ac9f414
fix(performance): remove unnecessary allocations from pty ( #264 )
...
* work
* refactor(pty): removed unused code
* style(comment): remove unused
* style(fmt): rustfmt
2021-04-12 16:00:05 +02:00
denis
748a7ffa6e
wip: cleaning up a bit, need to map the colors to the right places in the palette
2021-04-09 14:14:50 +03:00
denis
7774edd45a
wip: need to figure out how to clear lines
2021-04-08 16:29:52 +03:00
Aram Drevekenin
65c75ebb95
feat(controls): add quick navigation ( #260 )
...
* feat(input): quick navigation
* feat(ui): quick navigation
* style(fmt): rustfmt
2021-04-08 11:36:49 +02:00
Aram Drevekenin
e551bec538
fix(screen): handle events directed at other tabs ( #257 )
2021-04-06 16:55:32 +02:00
a-kenji
4f5f189373
Merge branch 'main' of https://github.com/zellij-org/zellij into config-file
2021-04-03 21:19:39 +02:00