Brooks J Rady
0e73227fe2
merge(main): update branch with changes from main
2021-04-13 16:17:40 +01:00
Brooks J Rady
d2a7d100ac
docs(build): documented the new build system
2021-04-13 16:06:04 +01:00
Brooks J Rady
dcd03ddc85
First iteration of the new build system is complete
2021-04-13 15:35:37 +01:00
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
Aram Drevekenin
f23118a20a
fix(compatibility): reset ( #261 )
2021-04-09 15:00:18 +02: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
c25eb04de9
fix(tabs): do not crash if closing pane in fullscreen ( #259 )
2021-04-06 17:55:48 +02:00
Aram Drevekenin
c827672708
fix(tabs): do not toggle fullscreen if there are no other panes ( #258 )
...
* fix(tabs): do not toggle fullscreen if there are no other panes
* style(fmt): rustfmt
2021-04-06 17:38:00 +02:00
Aram Drevekenin
e551bec538
fix(screen): handle events directed at other tabs ( #257 )
2021-04-06 16:55:32 +02:00
Aram Drevekenin
1c71d16eb5
fix(terminal): support bright colors ( #256 )
...
* fix(terminal): support bright colors
* style(fmt): make it uglier because rustfmt
2021-04-06 15:16:18 +02:00
Aram Drevekenin
bb87cbdd28
fix(terminal): do not hang app if terminal refuses to quit ( #255 )
2021-04-06 11:09:13 +02:00
Aram Drevekenin
f84d293c1b
fix(terminal): reset styles on cursor movement ( #254 )
2021-04-05 16:37:21 +02:00
a-kenji
381b63d357
Merge pull request #224 from a-kenji/config-file
...
Add: Config file
2021-04-05 12:01:23 +02:00
Aram Drevekenin
cdbd74f49b
fix(tabs): do not resize title bar when closing pane under it ( #252 )
...
* fix(tabs): closing a pane no longer resizes the tab bar
* style(tab): add clarification comment
2021-04-05 10:48:27 +02:00
a-kenji
d9a85e977d
Readd short option for config
2021-04-04 19:27:28 +02:00
a-kenji
eaa824dafa
Merge pull request #242 from a-kenji/strider-empty-directory
...
Fix(strider): Ignore descending into empty dir
2021-04-04 18:36:29 +02:00
a-kenji
ca014d7aac
Use Default Configuration for Tests
...
Uses the default configuration for tests,
in order to not mess up test cases with
different configurations in the config file.
2021-04-04 18:06:12 +02:00
a-kenji
a4430bf158
Chore(rustfmt)
2021-04-03 21:28:57 +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
Kyle Sutherland-Cash
d6a17f54fd
Add Kyle to governance.md
2021-04-03 01:42:13 -07:00
a-kenji
ecc106e231
Add myself to GOVERNANCE.md
2021-04-01 20:08:44 +02:00
Aram Drevekenin
1739f370f9
* fix(ui): react to terminal window size changes (SIGWINCH) ( #245 )
...
* fix(ui): react to terminal window size changes (SIGWINCH)
* style(fmt): rustfmt
* style(format): remove some warnings
* style(fmt): rustfmt
2021-04-01 17:38:13 +02:00
Brooks J Rady
ccc34f1fe2
Rudamentary running support implemented
2021-04-01 12:18:05 +01:00
Doron Tsur
9cb2b727cb
Merge pull request #244 from a-kenji/main
...
Fix(Mouse): Remove unimplemented! Macro for Mouse
2021-04-01 10:08:16 +03:00
Roee Shapira
50f6dc1ea4
Added me to contributors
2021-03-31 19:49:07 +03:00
Brooks J Rady
48fa876130
Merge branch 'main' into build-improvements
2021-03-31 12:18:51 +01:00
Brooks J Rady
138ba850eb
fix(plugin): send mode updates to subscribed plugins on load
2021-03-31 12:13:00 +01:00
a-kenji
267f4b48de
Fix(Mouse): Remove unimplemented! Macro for Mouse
...
Remove `unimplemented!` macro for mouse and unsupported events,
essentialy mimicking the NoOp.
Should not crash anymore when handling mouse events.
Alternatives:
Keep the `unimplemented!` macro for `termion::event::Event::Unsupported` ?
closes #243
2021-03-31 12:09:14 +02:00
Brooks J Rady
f4f6e3c66b
Start working on layout patching
2021-03-30 12:49:42 +01:00
a-kenji
9ba26e7367
Fix(strider): Ignore descending into empty dir
...
Adds a guard to check if the directory is empty before
trying to descend into it.
Eg:
Doesn't error anymore, if inside ./git/branches directory
and pressing `l`.
2021-03-29 20:42:16 +02:00
a-kenji
84488a35aa
Merge branch 'main' of https://github.com/zellij-org/zellij into config-file
2021-03-26 23:33:36 +01:00
a-kenji
68737f78ac
Config: Fix README
2021-03-26 22:12:01 +01:00
a-kenji
a80d5f700b
(Chore): rustfmt
2021-03-26 21:59:38 +01:00
a-kenji
98c4227c81
Fix tests
2021-03-26 21:59:20 +01:00
a-kenji
b30400ac47
Fix config default location
...
The default location is now correctly used again
2021-03-26 21:46:06 +01:00
Brooks J Rady
4c662fc6d0
Start porting to cargo-make
2021-03-26 16:01:22 +00:00
Brooks Rady
d818661c72
feat(plugin): refactored to a new and more general plugin API
...
- Changed `init()` to `load()`
- Deduplicated structs that are in both `zellij` and `zellij-tile`
- WASM thread now keeps a mapping of plugins and event subscriptions
- Added host-functions for subscribing and unsubscribing from events
- Introduced the `update(event)` callback into the API (which is called to handle plugin events)
- Made mode changes send an event to the WASM thread
- Removed the `AppInstruction::Get/SetState` calls (and any global state)
- Removed the `get_help()` host function
- Added an event system for key-presses
- Added an event for updating tabs
- Ported support for renaming tabs
- Removed every plugin callback other than `load()`, `update(event)`, and `draw(rows, cols)`
- Removed every WASM thread event other than Load, Draw, Update, Unload, and Quit
- Calls render after a plugin is updated
- Switched back to upstream `termion`
- Loads of lint fixing
- Shrunk and simplified the code!
2021-03-26 13:20:06 +00:00
Brooks J Rady
c71252f77e
Fix some overzealous format!() removals and a stray comment
2021-03-26 13:02:31 +00:00
Brooks J Rady
6316763b0e
Fixing a load of clippy lints in status-bar
2021-03-25 17:41:02 +00:00
Brooks J Rady
b6f945da35
Wrap up the plugin system refactor, running everything through update()
2021-03-25 17:22:10 +00:00
Brooks J Rady
84a5cf95d1
Converted tab updates to the new generic update() function
2021-03-25 15:51:39 +00:00
Brooks J Rady
0371c111b7
Removed AppState and the unneeded get_help() function
2021-03-25 14:56:59 +00:00
Brooks J Rady
0ea8ce497d
Rename Help to ModeInfo
2021-03-25 14:30:31 +00:00
Brooks J Rady
f2f7758384
Merge in changes from main and fix clippy lints
2021-03-25 14:24:11 +00:00
Brooks J Rady
81a517b264
Remove a dead input enum variant
2021-03-25 14:13:59 +00:00
Aram Drevekenin
e1e1f21043
fix(render): various rendering issues ( #238 )
2021-03-24 10:58:50 +01:00
Denis Maximov
d64e814e54
Merge pull request #235 from zellij-org/focused-pane
...
feature: Focused pane border coloring
2021-03-24 11:37:35 +02:00
denis
57e1f476f2
wip: input_mode back in tab, not passing stuff around anymore
2021-03-24 11:23:03 +02:00
denis
91608dfe4e
wip: cleanup the TabData, get rid of input_mode in tab, pass through render instead
2021-03-24 07:50:47 +02:00
Brooks J Rady
23df8e447a
Move most key handling to the update() + event system
2021-03-23 23:57:18 +00:00