Commit graph

77 commits

Author SHA1 Message Date
Kyle Sutherland-Cash
9a3e8bcb84 First round of merging against server-client and color stuff 2021-05-08 04:32:31 -07:00
dantepippi
543b70a2bd
Moving the sync command to the Tab mode (#412)
* Moving the sync command to the Tab mode

* Fixing bug related to plugin panes and sync mode

When sync mode was enabled the input from a plugin pane was being
incorrectly ignored.
2021-05-07 16:07:23 +02:00
Kunal Mohan
d33106431d Fix after rebase 2021-05-04 20:48:17 +05:30
Kunal Mohan
9fc1f0038e Refactor ServerInstruction enum to use Action enum 2021-05-04 20:48:16 +05:30
Kunal Mohan
fedb588330 Fix after rebase 2021-05-04 20:48:15 +05:30
Kunal Mohan
2a648187fc Fix after rebase 2021-05-04 20:48:15 +05:30
Kunal Mohan
223ee743e1 Move screen and plugins to client side.
Remove AppInstruction enum
spawn pty thread, screen thread and plugin thread on demand
2021-05-04 20:48:15 +05:30
denis
ee14d5f5dd wip: helper functions for ServerInstruction 2021-05-04 20:48:14 +05:30
Kunal Mohan
ea732166e3 client side threads should send messages directly to server and router threads should do the actual routing 2021-05-04 20:48:14 +05:30
Kunal Mohan
4f088e8185 split start into start_server and start_client 2021-05-04 20:48:14 +05:30
Kunal Mohan
2059d2c6aa Fix after rebase 2021-05-04 20:48:14 +05:30
Kunal Mohan
fd1debaa79 Fix after rebase 2021-05-04 20:47:51 +05:30
Kunal Mohan
0d814ebcde Divide OsApi into ClientOsApi and ServerOsApi and move calls to os thread 2021-05-04 20:47:51 +05:30
Kunal Mohan
588cdaa008 isolate pty thread 2021-05-04 20:47:48 +05:30
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
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
denis
de72d3d2fb wip: tab bar coloring 2021-04-24 11:42:40 +03:00
denis
47a918a53c wip: merge main 2021-04-24 09:18:37 +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
8d98ca7da0 wip: merge main in 2021-04-22 11:45:29 +03:00
Brooks Rady
19fc0496a3
feat(actions): allow scrolling by full pages
PR #298
2021-04-22 00:25:43 +01:00
Aram Drevekenin
e55dfc53e0
fix(ui): do not open new pane on the status bar (#314) 2021-04-21 19:24:51 +02: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
Brooks J Rady
413a24b77f fix(bug): remove buggy expansion boundaries 2021-04-14 11:01:28 +01:00
Brooks J Rady
6f4dcfbf65 fix(clippy): get ci passing again 2021-04-13 18:14:13 +01:00
denis
e5526df46a Merge branch 'main' into x-colors 2021-04-13 11:30:54 +03: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
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
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
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
denis
b8ee02d4bb wip: does it take too long to load colors from xrdb? 2021-03-31 14:32:54 +03:00
Brooks J Rady
138ba850eb fix(plugin): send mode updates to subscribed plugins on load 2021-03-31 12:13:00 +01: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
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
f2f7758384 Merge in changes from main and fix clippy lints 2021-03-25 14:24:11 +00: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