Commit graph

453 commits

Author SHA1 Message Date
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
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