Kunal Mohan
7beb246250
try fixes
2021-05-04 20:47:48 +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
62662464e3
Including text on tab name to let users know sync is on.
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
8d98ca7da0
wip: merge main in
2021-04-22 11:45:29 +03:00
Hongjie Zhai
fad088a868
add scroll page
2021-04-21 14:27:58 +09: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
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
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
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
Brooks J Rady
9bc7a268ce
Merge changes from main
2021-03-23 16:42:54 +00: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
Jonah Caplan
a174989990
fix(tabs): delete characters when renaming tab ( #226 )
2021-03-15 10:52:50 +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
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
Jonah Caplan
ce54127d7d
add basic tab bar #166
2021-02-25 01:44:10 -05:00
categorille
6e5607ba26
docs: first documentation step ( #185 )
...
* added some documentation to the input module
* added a bunch of documentation already, doing this non-linearly
* added more comments
* forgot cargo ftm again oop
* PR change requests applied, some forgotten/imcomplete doc added
2021-02-17 15:55:09 +01:00
Aram Drevekenin
14783c2b2c
feat(ui): new keybindings and status bar ( #160 )
...
* work
* feat(statusbar): new design and keybindings
* fix(ipc): add missing const
* style(fmt): rustfmt
* style(input): remove accidental comment
2021-02-09 17:36:37 +01:00
Kyle Sutherland-Cash
b6fb330da3
refactor(input): hotkeys ( #132 )
...
* Initial definitions and thoughts for hotkeys
* Actually document InputKey properly
* Add a to string function for input keys
* Define keybinds and actions; restructure
* Implement hash and start on defining key bindings
* Derive Serialize for input keys
* Store the key strings as tuples for two-way mapping
* Some string to key functions
* Use termion's Key definition and implement action dispatch
* Fix some borrow-checker errors
* Missing keybind and command mode switching
* Fix incorrect handling of spawn terminal command
* fix(plugins): work with new input - tests not passing
* fix(infra): stabilize tests and properly close pty sessions
* style(fmt): rustfmt
Co-authored-by: Brooks J Rady <b.j.rady@gmail.com>
Co-authored-by: Aram Drevekenin <aram@poor.dev>
2021-02-05 11:28:34 +01:00
denis
354316d20c
chore: formatting
2021-01-29 07:25:58 +02:00
denis
be9a059116
wip: moved stuff from main into common
2021-01-29 07:21:33 +02:00
denis
6a3481f54f
Merge branch 'main' into restructure
2021-01-29 06:24:59 +02:00
denis
b23ef332c7
wip: restructing in progress, to prep for server-client
2021-01-24 18:38:46 +02:00