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
0adc914352
fix: hello formatter my old friend...
2021-05-01 14:48:13 +03: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
Horasal
454ad0ed19
Enable should_render (fix pane render) ( #318 )
...
* fix pane render when switch/resize tab
* render when reflow_lines
* back to always render because widechar issue
* fix clippy
* force_render when current grid contains widechar
* bug fix
* pane_contains -> panes_contain
* fix conflict
* fix(terminal): bring back should_render
Co-authored-by: Aram Drevekenin <aram@poor.dev>
2021-04-30 16:01:15 +02:00
a-kenji
b5d38e95c8
Merge pull request #407 from a-kenji/default-layout
...
Fix Startup with Default in Same Folder
2021-04-29 18:09:14 +02: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
Brooks J Rady
964bc7b7f3
fix(style): fix up some unneeded .as_mut() and if let
2021-04-29 16:15:37 +01:00
Aram Drevekenin
cedd830a2e
Terminal: pass vttest 1 ( #408 )
...
* fix(compatibility): pass vttest 1
* fix(tests): move unit tests to a separate file
* style(fmt): rustfmt
* fix(grid): correct comment
* style(fmt): rustfmt
2021-04-29 15:25:08 +02:00
Dante Pippi
f6df6e9dc8
Defining sync keybind using default.yaml
2021-04-28 11:41:48 -03: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
Yutaka Kamei
82c5f505f1
refactor(handler): refer to self.config.keybinds internally
...
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-28 14:14:27 +09: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
1b36579d3b
fix(plugin): fix bad export macro
2021-04-27 15:12:26 +01:00
Brooks J Rady
2814c30272
feat(plugin): added the get_plugin_ids() query function
2021-04-27 14:57:54 +01:00
Matthias Beyer
49429688cf
fixup! Add subcommand to generate completions
2021-04-25 15:53:17 +02:00
Matthias Beyer
9aca589167
Add subcommand to generate completions
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-04-25 14:33:53 +02:00
denis
a8adfdfd60
wip: more cleaning up
2021-04-24 18:52:50 +03:00
denis
2e94ef51aa
wip: trying to make it less messy so people don't hate me
2021-04-24 18:28:28 +03:00
denis
de72d3d2fb
wip: tab bar coloring
2021-04-24 11:42:40 +03:00
denis
fef466c74b
wip: the only way to make the default look like on main is to make more customizable colored elements
2021-04-24 10:21:25 +03:00
denis
47a918a53c
wip: merge main
2021-04-24 09:18:37 +03:00
Jan Philipp Hafer
7bf39e6858
fix(keybinding): fix tab mode
...
dont exit on simple 'q' press
2021-04-23 15:56:25 +02:00
Dante Pippi
068136b523
Fixing snapshots
2021-04-22 21:28:38 -03:00
Dante Pippi
4f7ad31cf6
Changing tests to test the new behavior
...
Previous behavior was to go to the largest overlap. Now it should go to
the most recently used pane. Used cargo insta review to update the
snapshots.
2021-04-22 21:07:55 -03:00
Dante Pippi
f5b781c66f
Adding field active_at and using it to sort panes
...
Using last activity time to determine which pane was previously active
when moving back to a direction.
Changing active_at type to Instant
2021-04-22 20:59:56 -03:00
Aram Drevekenin
169e25af66
fix(ui): draw ui properly on terminal start ( #323 )
...
* fix(ui): draw ui properly on terminal start
* style(fmt): rustfmt
2021-04-22 20:55:23 +02: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 J Rady
4dc2965bbf
chore(changelog): add entry to CHANGELOG.md and tweak formatting
2021-04-22 00:30:00 +01:00
Brooks Rady
19fc0496a3
feat(actions): allow scrolling by full pages
...
PR #298
2021-04-22 00:25:43 +01:00
Hongjie Zhai
a5b04e92f9
add PGUP/PGDN to help info
2021-04-22 07:07:04 +09:00
Aram Drevekenin
e55dfc53e0
fix(ui): do not open new pane on the status bar ( #314 )
2021-04-21 19:24:51 +02:00
Aram Drevekenin
fc2110ab68
fix(stability): do not clear line if it's not there ( #289 )
...
* fix(stability): do not clear line if it's not there
* style(fmt): rustfmt
2021-04-21 17:07:49 +02: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
ae010964ff
Chore(Rustfmt)
2021-04-21 09:11:58 +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
4590fb474e
cargo fmt
2021-04-21 15:31:04 +09:00
Hongjie Zhai
9d8fbd2424
add tests
2021-04-21 15:30:02 +09:00
Hongjie Zhai
77bbf73c83
cargo fmt
2021-04-21 15:02:51 +09:00
Hongjie Zhai
fad088a868
add scroll page
2021-04-21 14:27:58 +09:00
a-kenji
e5fc158503
Add Unbind for Keybindings ( #241 )
...
* will unbind all default keybindings for now
* add test for toplevel unbind
* add example/default.yaml
* add example/README.md
2021-04-17 15:05:34 +02:00
a-kenji
60ad749473
Merge branch 'main' of https://github.com/zellij-org/zellij into unbind-default-keys
2021-04-17 00:15:52 +02:00