Commit Graph

135 Commits

Author SHA1 Message Date
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
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
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
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
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
Brooks J Rady
48fa876130 Merge branch 'main' into build-improvements 2021-03-31 12:18:51 +01:00