* fix(strider): close_self instead of close_focus
* fix(plugins): populate caller_cwd for all aliases
* fix(config): launch the session-manager alias rather than the explicit internal url
* style(fmt): rustfmt
* fix tests
* feat: Add serialization methods to ui components
* Revert: do not modify the `print` method at all
---------
Co-authored-by: Zykino <3809938+Zykino@users.noreply.github.com>
* fix(plugins): session layouts were still serialized using the legacy plugin syntax (remote:)
* use example domain
* style(fmt): rustfmt
---------
Co-authored-by: Aram Drevekenin <aram@poor.dev>
* fix(ui): display new session folder prompt always
* fix(ui): truncate session name and error on too long a name
* fix(ui): scrolling layout list in welcome screen
* style(fmt): rustfmt
* Add support for binding Ctrl-@
On most terminals, typing Ctrl-@ results in a null character with no
modifier.
Moreover, Ctrl-Space is commonly mapped as an alias for Ctrl-@, making
it easier to bind it as well.
* style(fmt): rustfmt
---------
Co-authored-by: Aram Drevekenin <aram@poor.dev>
Previously, it was not possible to define keybindings with a modifier
and a function key. The `Key` enum only supported combinging the Ctrl
and Alt modifiers with letters. This is somewhat limiting: I would like
to make the Zellij keybindings more "distant" than those used in the
programs I use from within Zelilj, so that Zellij does not intefere with
those programs. Thus I would like to move some of the keybindings from
Ctrl+<character> to Ctrl+<function key>.
This change adds:
* support for function keys with the Ctrl and Alt modifiers in the
`Key` enum,
* support for parsing such keybindings from the configuration file,
* support for such keybindings in the protobuf which communicates the
keybindings to plugins, and
* support for these keybindings in the plugin API.
This is tested by modifying one of the e2e tests to include an example
of such keybindings. This verifies that the configuration is correctly
parsed, communicated with the plugin, and rendered.