Commit Graph

196 Commits

Author SHA1 Message Date
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
a-kenji
1f14683c8f Add Unbind Setting for Keybinds
Adds the `unbind: true` and `unbind: false` flag under
keybinds.

Unbinds all default Keybinds.

Some enums are here already for more flexible unbinds.
2021-04-17 00:15:12 +02:00
Aram Drevekenin
475c2db4be
fix(compatibility): properly scroll up in scroll region (#274) 2021-04-16 17:20:51 +02:00
Aram Drevekenin
833381bca8
Stability fixes (#273)
* fix(grid): various recoveries from a corrupted state

* style(fmt): rustfmt

* fix(grid): more stability fixes

* style(fmt): rustfmt
2021-04-15 20:14:35 +02:00
Brooks J Rady
af702b67e6 feat(build): vastly simplify the build system 2021-04-14 19:08:22 +01:00
Aram Drevekenin
58fad06ebe
fix(compatibility): bash reverse search (#271) 2021-04-14 15:05:43 +02:00
Aram Drevekenin
f9fe1856f2
fix(compatibility): rotate scroll region (#270) 2021-04-14 14:08:46 +02:00
Aram Drevekenin
ceb2ebbd2b
fix(terminal): persiste vte state (#269)
* fix(terminal): persist vte state

* style(fmt): rustfmt
2021-04-14 13:52:45 +02:00
Brooks J Rady
413a24b77f fix(bug): remove buggy expansion boundaries 2021-04-14 11:01:28 +01:00
Brooks J Rady
4ae48916b6 fix(style): run rustfmt 2021-04-13 21:08:15 +01:00
Brooks J Rady
265d039456 fix(perf): fixed a crash when cating large files and bounded memory usage 2021-04-13 20:57:53 +01:00
Kunal Mohan
138889f49a
Merge pull request #262 from zellij-org/error-model
Make error model more autonomous
2021-04-13 23:14:32 +05:30
Brooks J Rady
6f4dcfbf65 fix(clippy): get ci passing again 2021-04-13 18:14:13 +01:00
Brooks J Rady
0e73227fe2 merge(main): update branch with changes from main 2021-04-13 16:17:40 +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
Aram Drevekenin
f23118a20a
fix(compatibility): reset (#261) 2021-04-09 15:00:18 +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
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
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
denis
a6ad8e6f15 wip: sending the ModeInfo on initial plugin load 2021-04-02 11:24:13 +03: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
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
denis
b8ee02d4bb wip: does it take too long to load colors from xrdb? 2021-03-31 14:32:54 +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
denis
2b59edbe9d wip: need to set the default for Palette in the plugins 2021-03-31 09:44:41 +03:00
denis
42890d4e64 wip: replace the impl with a fn load_palette instead 2021-03-28 10:51:15 +03:00
denis
6e276ae386 wip: move Palette out of zellij-tile 2021-03-27 15:30:53 +02:00
denis
b71315b036 wip: latest plugin system merge in 2021-03-27 14:43: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
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
denis
2c402b0b1d wip: scary how messy it is, but it's a start 2021-03-26 16:42:38 +02:00
Brooks J Rady
b6f945da35 Wrap up the plugin system refactor, running everything through update() 2021-03-25 17:22:10 +00:00
denis
a35cade8de wip: reading colors from xrdb 2021-03-25 18:05:16 +02: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
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
Brooks J Rady
ac55e59047 Initial implementation of the update callback + upstream termion 2021-03-23 19:52:59 +00:00
Brooks J Rady
9bc7a268ce Merge changes from main 2021-03-23 16:42:54 +00:00
Brooks J Rady
a1e6171031 Rename references of 'draw' to 'render' for plugins 2021-03-23 16:26:34 +00:00
denis
2913286d9e wip: remove colored_borders 2021-03-23 10:01:36 +02:00
denis
2bc40e5402 wip: using Some(Color) in the BoundarySymbol now 2021-03-23 08:47:20 +02:00
denis
99c578ea1d chore: formatting 2021-03-21 10:48:21 +02:00
denis
9016253a51 wip: cleanup 2021-03-20 17:52:45 +02:00
denis
021c8608c8 wip: not sure about updating the input_mode and tab switches for now 2021-03-20 16:54:18 +02:00
denis
59d2da54ca wip: active pane color, able to type / not able to type inside a pane distinction 2021-03-19 16:11:45 +02:00
a-kenji
91c109a902 Move test to /unit 2021-03-17 22:50:03 +01:00
a-kenji
e64192b42e Add a clean config option
Add a clean config option, which
makes zellij not look for a default
configuration file.
2021-03-17 16:56:02 +01:00
denis
3dd776834a wip: the borders are colored correctly now, need to change the color according to the mode selected next and do some cleaning up 2021-03-17 11:16:02 +02:00
denis
448c426c2b Merge branch 'main' into focused-pane 2021-03-17 10:05:43 +02:00
a-kenji
224c606b45 Remove logging to log.txt 2021-03-16 21:34:50 +01:00
a-kenji
564ded0bb3 Add short --config -c option 2021-03-16 21:22:59 +01:00
Aram Drevekenin
46c9802f6f
Performance: only render panes that should be updated (#234)
* fix(performance): bring back should_render

* style(fmt): rustfmt
2021-03-16 16:54:07 +01:00
denis
922440a952 wip: need to debug somehow 2021-03-15 14:17:04 +02:00
Jonah Caplan
a174989990
fix(tabs): delete characters when renaming tab (#226) 2021-03-15 10:52:50 +01:00
a-kenji
2ce034a66a Remove unneccessary comment 2021-03-13 13:07:46 +01:00
a-kenji
a86d8c2161 Add example config file. 2021-03-12 22:05:41 +01:00
Aram Drevekenin
ac358d913c
fix(performance): smaller allocations when rendering (#222) 2021-03-12 14:27:13 +01:00
a-kenji
acc2524105 Merge 'upstream/main' into config-file 2021-03-11 22:43:43 +01:00