Commit Graph

404 Commits

Author SHA1 Message Date
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
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
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
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
Kunal Mohan
dbbafae606
Merge pull request #233 from zellij-org/build-fix
Fix(build): Zellij-tile was building outside zellij.
2021-03-14 12:22:01 +05:30
Kunal Mohan
0307b2de9e fix build directory for zellij-tile 2021-03-14 11:59:06 +05:30
Aram Drevekenin
ac358d913c
fix(performance): smaller allocations when rendering (#222) 2021-03-12 14:27:13 +01:00
Aram Drevekenin
a1fbb26818 fix(layout): add tab bar to strider layout 2021-03-12 10:11:47 +01:00
Aram Drevekenin
b89823c4bd docs(readme): update demo gif 2021-03-11 16:30:00 +01:00
Aram Drevekenin
8d0ff0fe40
feat(input): new shortcuts and ui (#220)
* feat(statusbar): new shortcuts

* feat(input): new shortcuts and ui

* style(fmt): rustfmt
2021-03-11 16:03:28 +01:00
Brooks J Rady
1dd4045e23 Clippy compels me to cull code 2021-03-09 22:20:16 +00:00
Brooks J Rady
e9ab81850e Add event subscription tracking 2021-03-09 21:51:17 +00:00
Brooks J Rady
06bce9a1fd Deduplicate the WASM interface structs 2021-03-09 19:39:42 +00:00
Brooks J Rady
3e10e34575 Rename init() to load() in plugin API + Bump deps 2021-03-09 17:09:21 +00:00
Jonah Caplan
44b0246e91
feat(tabs): add ability to set tab name (#212)
* send all tabs in vec

* works but no input filtering

* add event types

* add event handler for tab events

* fmt fixups

* update tab name in place, and escape rename works

* rename handle_tab_event handle_tab_rename_keypress

* handle empty new_name when renaming

* fix(tabs): pad active tab name too

* fix(tabs): report proper length

* fix(tabs): always render active tab

* style(fmt): rustfmt

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2021-03-08 10:06:23 +01:00
denis
1a5d30d17d wip: visually marking the focused pane 2021-03-07 18:39:44 +02:00
Aram Drevekenin
845478fe11
New tab styling (#216)
* draft

* feat(tabbar): new ui

* style(fmt): rustfmt
2021-03-03 18:52:17 +01:00
Henil Dedania
955d38906d
Merge pull request #213 from zellij-org/build-fix
fix(build): This is getting uglier :/
2021-03-01 08:51:56 +05:30
henil
522406c321 fix(build): This is getting uglier :/ 2021-02-28 12:39:09 +05:30
Brooks J Rady
b6ce24280f infra(crates.io): clear the correct directory in build.rs 2021-02-26 09:27:59 +00:00
Brooks J Rady
a20e49d77e infra(crates.io): readd wasm assets to the repo 2021-02-26 09:09:54 +00:00
Brooks J Rady
0d20148518 infra(crates.io): allow publishing by including assets from a different path 2021-02-25 23:26:31 +00:00
Brooks J Rady
e2217564c2 infra(crates.io): try to include wasm assets 2021-02-25 23:25:39 +00:00
Brooks J Rady
84d4e5aa38 infra(crates.io): add a script for publishing zellij 2021-02-25 22:42:52 +00:00
Brooks J Rady
560ccdc487 build(plugin): fix a typo in the build-all.sh 2021-02-25 22:29:06 +00:00
Aram Drevekenin
54c500b230
fix(grid): do not crash when reflowing lines with an empty top buffer (#211) 2021-02-25 18:20:01 +01:00
Aram Drevekenin
6d623b3f1e
Fix vim background color (#210)
* fix(compatibility): properly pad characters with styling on newlines

* style(fmt): rustfmt
2021-02-25 17:15:20 +01:00
Denis Maximov
f9441bce99
Merge pull request #204 from jcaplan/tab-bar-166
add tab toolbar
2021-02-25 09:45:23 +02:00
Jonah Caplan
ce54127d7d add basic tab bar #166 2021-02-25 01:44:10 -05:00
Aram Drevekenin
7b69fcb8e0
Make fullscreen panes not override the status bar and strider (#209)
* work

* feat(tab): expansion boundary

* fix(layout): add expansion boundary to default layout

* style(fmt): rustfmt

* style(fmt): remove unnecessary comment
2021-02-24 18:00:00 +01:00
a-kenji
0e88c921d0
Doc build (#207)
* docs(build): Add information about binaryen dep

* docs(build): Add information about binaryen dep
2021-02-24 17:05:19 +01:00
Brooks J Rady
1acff8916f build(actually reinstall updated plugins) 2021-02-23 20:27:22 +00:00
a-kenji
683c152fa2
feature(strider): Allow to Hide Hidden Files (#203)
closes #197

default keybinding = '.'
default view = shows hidden files

Alternative:
Hide hidden files by default.
2021-02-23 20:25:02 +01:00