aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src (follow)
Commit message (Collapse)AuthorAge
...
* fix(plugins): allow switching to a new session with cwd without specifying a ↵Aram Drevekenin2024-10-14
| | | | layout (#3676)
* fix(resurrection): plugin alias resurrection (#3673)Aram Drevekenin2024-10-14
| | | | | * fix(resurrection): make sure plugin aliases are serialized properly * style(fmt): rustfmt
* fix(plugins): various plugin api and other fixes (#3665)Aram Drevekenin2024-10-11
| | | | | * fix(plugins): do not allow focusing an unselectable pane * fix(folders): make sure config and cache folders exist on app start
* fix(plugins): handle concurrent http downloads (#3664)Aram Drevekenin2024-10-11
|
* feat(cli): show CACHE_DIR in `zellij setup --check` (#3652)Aram Drevekenin2024-10-09
|
* feat(cli): make --layout idempotent(-ish) (#3650)Aram Drevekenin2024-10-08
| | | | | | | * feat(cli): if inside a session, apply --layout to the session * fix(screen): some focusing races when switching tab focus * style(fmt): rustfmt
* fix(http): web requests (#3643)Aram Drevekenin2024-10-04
|
* fix(resurrection): various serialization issues (#3636)Aram Drevekenin2024-10-02
| | | | | | | | | * fix(serialization): use kdl-rs for serialization * style(fmt): remove dead code * tests(serialization): update snapshots * style(fmt): rustfmt
* feat(ui): built-in plugin manager (#3633)Aram Drevekenin2024-09-30
| | | | | | | | | | | * add plugin list to session info * feat(plugins): new_plugin and reload_plugin API commands * feat(plugins): built-in plugin manager * style(fmt): rustfmt * update plugins
* feat(config): allow loading background plugins on startup (#3616)Aram Drevekenin2024-09-20
| | | | | | | | | | | | | * remove old partial implementation * feat(plugins): allow loading background plugins on startup * add e2e test * update config * udpate config merging * style(fmt): rustfmt
* feat(plugins): APIs to break multiple panes into a new tab or an existing ↵Aram Drevekenin2024-09-16
| | | | | | | | | | | | | | | | | tab (#3610) * feat(plugins): break multiple panes to a new tab * fix(layouts): properly ignore run instructions when breaking panes * feat(plugins): break multiple panes to existing tab * feat(apis): allow these methods to also specify whether they want focus changed to the tab * various fixes * allow specifying name for the new tab when breaking out panes * style(fmt): rustfmt
* feat(plugins): add plugin APIs to affect other panes (#3576)Aram Drevekenin2024-08-29
| | | | | | | | | | | * resize_pane_with_id and close_pane_with_id * focus_pane_with_id and edit_scrollback_for_pane_with_id * write_to_pane_id and write_chars_to_pane_id * lots more commands * style(fmt): rustfmt
* feat(ux): reload config options at runtime (#3564)Aram Drevekenin2024-08-23
| | | | | | | | | | | | | * change simplified_ui at runtime * change default_shell at runtime * change pane_frames (from config) at runtime * all other options * some refactoring * style(fmt): rustfmt
* feat(plugins): API to temporarily bind keys to send a message to a specific ↵Aram Drevekenin2024-08-21
| | | | plugin id (#3561)
* feat(ux): change themes at runtime (#3559)Aram Drevekenin2024-08-20
|
* feat(ux): reload config at runtime (#3558)Aram Drevekenin2024-08-19
| | | | | * feat(ux): reload config at runtime * style(fmt): rustfmt
* feat(ux): first run setup-wizard (#3556)Aram Drevekenin2024-08-16
| | | | | | | | | | | | | | | | | | | | | | | | | * separate saved/runtime structure, kind of working * serializing config * work * work * save config through the configuration screen * work * startup wizard * style(code): cleanups * fix(session): reload config from disk when switching sessions * style(fmt): rustfmt * fix(config): propagate cli config options to screen * style(fmt): rustfmt
* feat(plugins): command pane re-run event (#3553)Aram Drevekenin2024-08-14
|
* feat(plugins): rerun_command_pane API (#3546)Aram Drevekenin2024-08-07
| | | | | * feat(plugins): rerun_command_pane API * fix tests
* fix(plugins): various cwd fixes (#3545)Aram Drevekenin2024-08-07
| | | | | * fix(plugins): various cwd fixes * fix tests
* feat(plugins): allow opening command panes in the background (hidden) (#3530)Aram Drevekenin2024-07-29
| | | | | | | | | | | * start background pane * open command and edit panes in the background * some cleanups * style(fmt): rustfmt * more cleanups
* feat(plugins): some APIs for controlling and receiving information about ↵Aram Drevekenin2024-07-22
| | | | | | | | | | | | | other panes (#3515) * add context to opening command panes, and events for their start/finish * show/hide other panes plugin apis * get tests to pass * style(fmt): rustfmt * update plugin test snapshots
* fix(serialization): do not serialize junk sessions (#3504)Aram Drevekenin2024-07-18
| | | | | * fix(serialization): do not serialize junk sessions * style(fmt): rustfmt
* feat(plugins): add stringified layout to switch_session_with_layout (#3503)Aram Drevekenin2024-07-18
|
* feat(ui): configuration screen + configure non-colliding keys at runtime (#3502)Aram Drevekenin2024-07-17
| | | | | | | | | | | | | * rebind => reconfigure * persist keybinds and mode info to new tabs * add configuration plugin * make tests pass * remove warnings * style(fmt): rustfmt
* fix(terminal): session-manager enter and some more keys (#3484)Aram Drevekenin2024-07-08
|
* feat(ui): status bar redesign (#3475)Aram Drevekenin2024-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | * work * work * working * get default mode from server and some ui responsiveness * work * finish design and get tests to pass * get e2e tests to pass * add classic layout * add classic layout assets * fix e2e tests * style(fmt): rustfmt * fix plugin system test * style(fmt): some cleanups
* dependencies: switch from Wasmer to Wasmtime (#3349)bjorn32024-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove ForeignFunctionEnv wrapper around PluginEnv This will enable PluginEnv to be the Store context when migrating to Wasmtime. * Pass PluginEnv by value to load_plugin_instance This will allow removing the Clone impl from PluginEnv when migrating to Wasmtime as required by the missing Clone impl on Wasmtime's WasiCtx. * Avoid passing a Store around when an Engine is enough * Pass PluginEnv to the wasi read/write functions Wasmtime requires storing the read/write end of the pipe outside of the WasiCtx. Passing PluginEnv to these functions allows storing them in the PluginEnv. * Migrate to Wasmtime * Switch from wasi-common to wasmtime-wasi * Reduce verbosity of wasmtime_wasi logs * Increase startup delay To wait for all plugins to be compiled. * Disable some wasmtime features * Update to Wasmtime 21.0.1
* feat(plugins): rebind keys at runtime (#3422)Aram Drevekenin2024-06-14
| | | | | | | | | | | | | | | * refactor(server): interpret keys on server so they can be rebound * feat(plugins): allow rebinding keys at runtime * various cleanups * add tests * style(fmt): rustfmt * fix(tests): address (some) e2e test flakiness * style(fmt): rustfmt
* feat(keybindings): support multiple modifiers (eg. Ctrl+Alt) and the kitty ↵Aram Drevekenin2024-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keyboard protocol (#3383) * parse kitty keys from STDIN * work * work * replace internal Key representation with the new KeyWithModifier in all the places * work * work * allow disabling with config * adjust ordering * handle enabling/disabling properly on the client * support multiple modifiers without kitty too * normalize uppercase keys * get tests to pass * various cleanups * style(fmt): rustfmt
* feat(layouts): allow consuming a layout from a url (#3351)Aram Drevekenin2024-05-15
| | | | | | | * feat(cli): allow loading layouts directly from a url * feat(plugins): allow loading layouts directly from a url * style(fmt): rustfmt
* feat(stdin): allow binding Ctrl J (#3307)hiasr2024-05-02
| | | | | * Fixed Control j keybindings * Fix formatting
* feat(cli): list clients, their focused pane_id and the running command (#3314)Aram Drevekenin2024-04-30
| | | | | * feat(cli): list clients * style(fmt): rustfmt
* feat(plugins): add API to open new tabs with a LayoutInfo (#3305)Aram Drevekenin2024-04-26
| | | | | * feat(plugins): add api to open new tabs with a layout info * fix tests
* fix(cli): merge attach options (#3288)Aram Drevekenin2024-04-22
|
* fix(cli): rename `attach --background` to `attach --create-background` (#3265)Aram Drevekenin2024-04-15
| | | | | * fix(cli): rename background to create_background * fix(cli): change create-background shortcut
* feat(config): allow disabling writing session metadata to disk (#3258)Aram Drevekenin2024-04-12
| | | | | * feat(config): allow disabling writing session metadata to disk * style(fmt): rustfmt
* feat(cli): allow starting a session detached (#3257)Aram Drevekenin2024-04-12
| | | | | * feat(cli): allow starting a session detached * fix tests
* fix(swap-layouts): properly identify plugin aliases with initial cwd (#3250)Aram Drevekenin2024-04-10
| | | | | * fix(swap-layouts): properly identify plugin aliases with initial cwd * style(fmt): rustfmt
* fix(layouts): recover from resurrection crash and pick up swap layouts ↵Aram Drevekenin2024-04-10
| | | | | | | properly (#3249) * fix(layouts): recover from issues in the constraint system * fix(keybinds): pick up swap layouts for new tab keybinding
* fix(plugins): various pre-release issues (#3246)Aram Drevekenin2024-04-05
| | | | | | | | | | | * 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
* utils/cli: Add `move-tab` action (#3244)har7an2024-04-04
| | | | | | | * utils/cli: Add `move-tab` action which was previously only exposed through keybindings. * CHANGELOG: Add PR 3244.
* feat(plugins): add api to close current plugin instance (#3228)Aram Drevekenin2024-03-27
|
* fix(plugins): session layouts are still serialized using the legacy plugin ↵Axel H2024-03-27
| | | | | | | | | | | | | syntax (remote:) (#3224) * 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>
* feat(plugins): add api to dump the current session layout to a plugin (#3227)Aram Drevekenin2024-03-26
|
* fix(keybindings): add support for binding Ctrl-Space (#3101)Ido Yariv2024-03-26
| | | | | | | | | | | | | | | * 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>
* fix(config): add support for Ctrl and Alt modifiers on function keys in ↵Bradford Hovinen2024-03-25
| | | | | | | | | | | | | | | | | | | | | | | | keybindings (#3179) 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.
* style(fmt): fix warnings (#3223)Aram Drevekenin2024-03-25
| | | | | | | * fix warnings in zellij-server * style(fmt): remove warnings * style(fmt): rustfmt
* fix(startup): recover from race condition that causes Zellij to start in the ↵Aram Drevekenin2024-03-25
| | | | | | | | | wrong size (#3218) * fix(startup): recover from Zellij starting up in the wrong size * style(fmt): rustfmt * fix tests
* feat: `list-sessions` show newest sessions last, for better user experience ↵toymil2024-03-24
| | | | | | | | | | | | | | | | | | | | | (#3194) * feat: sort `list-sessions` from oldest to newest by putting the most recent sessions last, the user won't need to scroll back up to see active sessions when there are a lot of resurrectable sessions. * feat: add an `--reverse` option to the `list-sessions` subcommand the `--reverse` flag reverts sorting order back to the old "newest sessions first". also updated call sites of `list_sessions` and `print_sessions` with `reverse: true`, to keep the original behavior everywhere else except the output of `list-sessions` subcommand. * chore: update the help message --------- Co-authored-by: Jae-Heon Ji <atx6419@gmail.com>