aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
* fix: proper boundary when clicking on pane in fullscreen (#4715)Aram Drevekenin2026-02-17
| | | | | | | * fix: proper boundary when clicking on pane in fullscreen * add pr * upgrade protoc for ci fix
* Revamp the sequence plugin (#4713)Aram Drevekenin2026-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * initial pipe interface * initial open_x_pane_in_new_tab plugin api implementation * fix: send CommandPaneExited for command panes opened as initial_terminals in new tabs from plugins * open panes in place of specific pane id plugin commands - initial implementation * sequence and plugin api ux * focus self when starting * combine ui and pipe paths * highlight selected pane * initial sequence removal of editing capabilities * fix: translate plugin paths in api * properly trim commands when loaded from pipe or pasted text * minor ux fixes * get ctrl c to work properly * behavior fixes * more ui fixes * fix tests * close tab and end sequence properly * default to AND * zellij sequence alias * add alias * consolidate paths * rustfmt * fix ui padding * add pr * fix: reset scrolling when resetting terminal state
* Fix startup message and cache file creation (#4705)Aram Drevekenin2026-02-15
| | | | | | | | | | | * only show startup loading message if we've been loading for more than 400ms * create relevant cache folders before attempting to write startup cache files * fix flaky tests * rustfmt * add pr
* Allow plugins to read env vars present upon session creation (behind ↵Aram Drevekenin2026-02-12
| | | | | | | | | permission) (#4700) * allow plugins to read environment variables * rustfmt * add pr
* Propagate plugin alias config changes to plugins (#4698)Aram Drevekenin2026-02-12
| | | | | | | * propagate plugin alias config changes to plugins * rustfmt * add pr
* fix: report layout folder to screen from watcher instead of querying (#4696)Aram Drevekenin2026-02-12
| | | | | * fix: watch layout folder instead of querying * rustfmt
* CLI commands to query tab ids, names and info (#4695)Aram Drevekenin2026-02-11
| | | | | | | | | * add equivalent tab_id commands to tab_position commands (cli and plugins) * add list-tabs and current-tab-info cli commands * rustfmt * add pr
* Allow writing characters, bytes and keys to specific panes from the CLI (#4691)Aram Drevekenin2026-02-10
| | | | | | | | | | | | | * initial implementation * fix tests * implement zellij action send-keys * rustfmt * add test * fix tests and add pr
* Improve plugin API ergonomics and add CLI goodies (#4690)Aram Drevekenin2026-02-10
| | | | | | | | | | | | | | | | | | | | | | | * return created tab_id from relevant plugin API methods * add to cli * return Option<PaneId> in plugin API methods that create panes * return created pane_id in cli for relevant actions * allow plugins to query for pane_info based on pane_id * allow plugins to query for TabInfo by its id * allow plugins to query pane command/cwd synchronously * zellij action list-panes * style and formatting * fix e2e tests * add pr
* chore: Fix the issue template to match existing labels (#4637)Zykino2026-02-08
| | | Co-authored-by: Zykino <3809938+Zykino@users.noreply.github.com>
* test: Tighten network privileges for e2e test container (#4688)har7an2026-02-07
| | | | | | | and prevent it from leaking network resources to the host. Previously, the port binding was effectively useless since the container was already sharing the hosts network (`network_mode: host`). Restrict the port binding to only listen on the local host, blocking all connections from outside the machine.
* refactor: make tab_ids stable (#4685)Aram Drevekenin2026-02-06
| | | | | | | | | | | * refactor: clear distinction between tab_id and tab_position * add tab_id to TabInfo * add test * rustfmt * add pr
* fix: scrolling with double/triple-click selection (#4681)Aram Drevekenin2026-02-05
| | | | | * fix: set double/triple-click selection inactive after its end * add pr
* fix: don't trim empty characters with background (#4680)Aram Drevekenin2026-02-05
| | | | | * fix: take background color into account when trimming characters * add pr
* Allow resizing panes with the mouse (#4678)Aram Drevekenin2026-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * initial implementation * improve edge detection * fix up/down resize increment bug * temporarily disable alt-mouse grouping * fix inverting strategies and simplify edge detection * resize of floating -> ctrl click, resize of tiled -> (ctrl)click * fix old functionality and tests * refactor and fixes * refactor mouse click handling * move mouse click handling to separate module * resize scroll up/down with scroll wheel * tests for scroll resize * implement hover help * fix occlusion bug * allow disabling with config * fix focus pinned pane on frame * use strategy invert resize directly rather than function parameter * remove annoying log message * cleanups and formatting * add pr
* fix(layout): Correctly handle relative layout paths from CLI (#4664)har7an2026-01-31
| | | | | | | | | | | | | | * fix(layout): Correctly handle relative layout paths from CLI since previously they were treated the same as layout names given from the config file. This was incorrect, since layouts on the CLI require resolution relative to the CWD, whereas the config "knows" only the default layout directory for this purpose. Add a regression test to catch behavior like this in the future. * test: Fix test assertions so they don't rely on fragile information such as absolute paths or timestamps.
* Handle errors in route loop (#4655)Aram Drevekenin2026-01-29
| | | | | | | | | * handle errors in route thread * fix session-manager deadlock on startup * rustfmt * add pr
* Allow saving current session for resurrection on demand (#4654)Aram Drevekenin2026-01-29
| | | | | | | | | | | * initial implementation * session manager ui and plugin api * remove event * cleanups and formatting * add pr
* fix: session creation time on musl (for "zellij ls") (#4645)Aram Drevekenin2026-01-27
| | | | | * fix: creation time on musl * add pr
* docs(changelog): restore tab positionAram Drevekenin2026-01-27
|
* feat(zellij-server): restore tab position when re-attaching (#4115)XOR-op2026-01-27
|
* fix: properly occlude cursor in floating pane when pinned pane covers it (#4644)Aram Drevekenin2026-01-27
| | | | | * fix: properly occlude cursor in floating pane when pinned pane covers it * add pr
* feat(assets): add svg logo (#4196)danielwerg2026-01-27
| | | | | * feat(assets): add svg logo * feat(assets): add actual svg logo
* Fix loading short layouts and custom config dirs (#4640)har7an2026-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test(e2e): Write a regression test to validate behavior w.r.t. loading and determining the session layout file. Compared to release v0.43.1, right now there is a problem where `zellij --layout NAME`, with `NAME` being the filename of a layout in the `$ZELLIJ_DATA_DIR/layouts/` subfolder, doesn't resolve to the correct layout file. Instead, zellij will silently fall back to its default config. It does, however, recognize nonexistent configuration files. * fix(utils): Treat bare layout names as file paths first before defaulting to builtin layout names. This restores the behavior shown by zellij up until 0.43.1, which was altered in a recent extension of the server-client API. * fix: Forward client layout information to startup code and ensure it isn't ignored along the way. Update a bunch of tests to react to the new function interface and write new tests to catch deviations in the future. * test: Fix misconfigured e2e test to ensure that a custom `--config-dir` is indeed respected during application startup. * test: Rewrite config dir test to not use variable metadata since the `LayoutInfo` object previously dumped into the snapshot contains information that isn't platform agnostic, including an absolute file path and a timestamp. * docs(CHANGELOG): Mention PR #4640 in the list of changes for the next release. * fix: Handle bare layouts with name "default" correctly and assume a "default" layout if no layout name is given during layout resolution. "default" may not always be the builtin default layout, since users can write their own "default.kdl" that takes effect when placed in the layout directory an no other layouts are explicitly specified.
* fix: get "zellij run --session" to also work on sessions that have no ↵Aram Drevekenin2026-01-22
| | | | | | | | | attached clients (#4626) * fix: fallback to first tab when sending a command to a detached session with no users * rustfmt * add pr
* fix: sessions started from the session manager will now default to the ↵Aram Drevekenin2026-01-22
| | | | | | | | | | | | | current cwd (#4625) * fix: properly set cwd for new sessions and filepicker when none is specified * rustfmt * add pr * fix tests * rustfmt
* Allow disabling OSC8 link generation (#4624)Aram Drevekenin2026-01-22
| | | | | | | * implementation * rustfmt * add pr
* Fix breaking panes behavior (#4622)Aram Drevekenin2026-01-21
| | | | | | | | | | | * fix: pane becoming borderless when breaking to new tab * don't treat floating panes specially when breaking to new tab * fix tests * rustfmt * add pr
* feat(web): add base_url option (#4409)Thomas Linford2026-01-21
| | | | | | | * feat(web): add base_url option * fix tests * update changelog
* Fix query webserver from IPC rather than HTTPS (#4620)Aram Drevekenin2026-01-21
| | | | | | | | | | | * move webserver querying from http to ipc * rustfmt * fix no web build * rustfmt * add pr
* Fix tiled new pane borderless (#4618)Aram Drevekenin2026-01-20
| | | | | | | | | * allow opening tiled pane as borderless * rustfmt * add pr * fix e2e tests
* Allow toggling pane frames for specific panes (#4615)Aram Drevekenin2026-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | * initial implementation * add borderless to edit and plugin cli commands * allow changing existing pane to borderless * allow setting in layouts and keybindings * get to work through the existing plugin api commands * fix when applying (swap) layouts * fix tests * allow setting pane as bordered (borderful?) when changing its coordinates (eg. through the cli) * allow explicitly setting a pane as bordered or borderless without toggling * rustfmt * adjust snapshots * docs(changelog): add PR
* Fix: allow 0% coordinate specification for floating panes (#4609)Aram Drevekenin2026-01-15
| | | | | | | * fix: allow 0% when specifying x/y coordinates but not when specifying width/height * rustfmt * add pr
* fix: properly quit welcome screen when switching sessions (#4605)Aram Drevekenin2026-01-15
| | | | | * fix: properly quit welcome screen when switching sessions * fix tests and add PR to changelog
* fix: center floating panes when width/height but no x/y are provided (#4607)Aram Drevekenin2026-01-14
| | | | | | | * fix: center floating panes when width/height but no x/y are provided * rustfmt * add pr
* docs(changelog): add PRsAram Drevekenin2026-01-14
|
* fix: remove layout config when switching sessions (#4604)Aram Drevekenin2026-01-14
|
* fix(security): validate session name in delete-session to prevent directory ↵Thierry Santos2026-01-14
| | | | | | | | | | | | | | | | | | | | | | | deletion (#4583) * fix(security): validate session name in delete-session to prevent directory deletion When delete-session receives a path instead of a session name (e.g., due to shell alias misconfiguration), PathBuf::join() replaces the cache directory base path entirely, causing remove_dir_all() to delete the user's directory. Add validate_session_name() to reject names containing '/' or invalid values. * refactor: use Result instead of Option for validate_session_name Change validate_session_name to return Result<(), &'static str> instead of Option<&'static str> for clearer error semantics. * refactor: use String for validate_session_name errors Return Result<(), String> and include the session name in error messages for better debugging context. * chore: lint changed files
* Deps upgrade (#4603)Aram Drevekenin2026-01-13
| | | | | | | | | | | * upgrade wasmi to 0.51.3 * update default plugins as workspace dependencies * upgrade mio to 0.8.11 * upgrade native-tls to 0.2.14 * update url package
* Layout manager (#4601)Aram Drevekenin2026-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ad plugin override_layout command * watch available layouts and report to plugin thread * Event::AvailableLayoutInfo * save layout command * refactor save_layout * fix api and permissions * delete_layout API command * edit layout in place API * edit layout response through api * propagate layout parsing errors * generate random name plugin api * dump stringified layout API * synchronicity dump_session_layout and include LayoutMetadata in sync response * parse_layout plugin api * fix: default to default layout dir in plugin api * rename_layout plugin command API * initial implementation of multi-tab override * apply to multiple tabs * allow applying to only the active tab * add tab/pane names to layout parsing metadata * indicate is_builtin_plugin in PaneMetadata * get_layout_dir plugin API command * consolidate (and fix) is_builtin_plugin logic * fix bad ret * allow dumping the layout for just a specific tab in the session * get focused pane and tab sync api * color last substring variants * add plugin * update assets * fix tests * add e2e tests for new plugin apis * update ui with new shortcut * rustfmt * docs(changelog): add PR
* docs(CONTRIBUTING): Describe rust toolchain versioning policy (#4585)har7an2026-01-07
| | | | | | | | | | | * docs(CONTRIBUTING): Describe rust toolchain versioning policy and mention the lack of a MSRV. This should allow people to discover how toolchain updates are handled, even though there currently isn't much of an explanation. * docs(CHANGELOG): Mention PR #4585 which describes the Rust toolchain versioning policy.
* build: Update Rust toolchain to 1.92.0 (#4579)har7an2026-01-05
| | | | | | | | | * build: Update Rust toolchain to 1.92.0 since the previous version 1.90 is EOL. * docs: Mention #4579 in CHANGELOG to notify users of the toolchain update.
* Feature: allow overriding a layout for a currently running tab (change ↵Aram Drevekenin2025-12-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | layout at runtime) (#4566) * add tests for LayoutApplier * initial untested implementation of override functions * add override-layout cli action with stub in screen * filter run instructions to ignore * implement override-layout roundtrip through plugin and pty threads * initial full-cycle working override implementation * fix some bugs (eg. actually start new terminals) * fix some bugs with focus after override * fix floating pane matching bug in layout applier * formatting * use first tab, error on more than 1 tab * fix some floating_panes ordering and shell issues * get new tab name to work * respect swap layouts * allow specifying tab properties on main layout node if we just have one tab * add tests for new override methods * start work on retaining panes, hard-coded things, kind of working but broken in many places * fixed most tiled pane override bugs * reset viewport before reapplying * revert constraint system changes * retain-existing-terminal-panes flag * add retain terminal panes tests * add retain plugin panes flag * add keybind * add retain plugin panes tests * add override-layout e2e test * refactor: layout_applier * style: rustfmt * some cleanups * fix cli flags * no crashy * formatting and artifacts * moar cleanups * fix: respect expanded in stack when overriding * docs(changelog): add PR
* Read only web tokens (#4551)Aram Drevekenin2025-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * initial implementation * fix race condition potentially allowing read-only clients to gain write access * clear read only status on disconnect * cleanups and formatting * fix tests * refactor first message + ipc pipe creation out of trait * fix web tests * fix web tests again * refactor: move os_input connection establishment to session manager trait * add read-only-token tests * fix: identify watchers as web-clients when they are and enforce no-web-clients for them as well * identify watcher web clients on the server * fix tests * cleanups and formatting * add read-only-tokens to the plugin api * update share plugin ui for read-only tokens * cleanups and formatting * docs(changelog): add PR
* HOTFIX: fix flaky macos testAram Drevekenin2025-12-11
|
* Command Sequences, Blocking CLI Commands, New Plugin APIs (#4546)Aram Drevekenin2025-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix deadlocks * initial logging to plugin implementation * only log actions, include keys as Action::Write * send actions to plugins as a new Event::UserAction * add Action::Write metadata to plugin API * run_action plugin command and permission * block-until-exit/success/failure in the cli * fix tests * add NewBlockingPane to the plugin API * run actions in a different thread so as not to block plugin execution * add custom context to run_action flow * fixes for floating pane z_index sorting and unknown protobuf events not crashing plugins * always render the frame of pinned panes * macros module * add macros to config * KDL macro parsing * thread macros to the plugin thread * get/update/delete macros from plugins * add macros updated event * add ability to rename macros * fix deadlock * fix z_indices with pinned unselectable panes bug * allow plugins to opt-in to show_cursor * change show_cursor(bool) to show_cursor(Option<coordinates>) * test * upgrade strum to allow proper enum iteration and case insensitive fromstr implementation for Actions * better cwd tracking for exited command panes * add initial panes to NewTab Action (no-op for now) * add initial panes to cli newtab action * make initial panes work * add close_on_exit and start_suspended to the cli * properly convert newtab action (potentially breaking for plugins) * allow first pane in tab to block * make distinction between opening panes with the last active client and the current pane in the cli * improve some apis * fix fixed size closing pane bug * fix plugin cursor coordinates * fix issues with launch-or-focus-plugin having to do with in-place and suppressed panes * fix: set affected pane in replace pane * allow setting a pane in place when it is suppressed and being focused (tests failing) * fix tests * some fixes for unsuppression of panes * some fixes for completion_tx in new tab action * allow replace/suppressed rather than replace/close only * fixes for inserting suppressed panes without conflicts * pane focus history and explicit unsuppress plugin api * fix: prefer explicitly provided pane id in placement in actions that provide it * fix floating pane coordinate change and z_index * fix plugin cache dir to persist between sessions * fix some stack focusing issues when adding panes without a client id * make sure pinned panes are always above non-pinned floating panes * allow plugins to copy to clipboard * initial text styling additions implementations - buggy * fix dimming issues * remove extras, stay with just dim and unbold * unbold and dim as indices * allow ui components to render success/error colors * allow plugins to send sigint/sigkill to processes, as well as receive their pid * ui component fixes and send originating plugin context with run_action * originating plugin for new tab too * make plugn show pane command also expand stacked panes * add sequence plugin * remove macros * remove snapshots * add shortcut for sequence plugin * fix plugin tests * plugin tests for new apis * update snapshots for sequence shortcut * cleanups and formatting * Event::CwdChanged * moar cleanups * remove some warnings * remove mroe warnings * remove dead code * remove more dead code * fix minor bugs in sequence plugin * update sequence help and format codebase * fix conditional blocking cli commands * fix initial-command new-tab cli flag * add client_ids to CwdChanged Event * last fixes * add pr
* fix(zellij-server): unblock building on 32bit targets (#4484)tranzystorekk2025-12-09
| | | | | | | | | | | * fix(zellij-server): unblock building on 32bit targets * temporarily comment out changes to test ci * Bring back conditional compilation --------- Co-authored-by: Aram Drevekenin <aram@poor.dev>
* Improve CLI interface (add detach, switch session, blocking zellij run and ↵Aram Drevekenin2025-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more) (#4492) * initial implementation * fix tests * move more ations * screen adjustments (does not compile) * plugin/pty adjustments (does not compile) * more progress, tests not compiling * fix tests * more progress, does not compile * more progress, compiles, tests failing * tests passing * rely on Drop for NotificationEnd * atomicify some more actions * fmt * move unblock input to route * don't pass hard-coded action names * refactor: consolidate completion channel logic * comment * track last active client * track cli clients explicitly * use the last active client for cli commands when possible * fix focus-next-pane for multiple clients * various fixes for multi-client actions from the cli * add detach action * fix tests * add switch session cli action * fix switch session deadlock * add and layout to switch-session cli action * blocking zellij run: add NewBlockingPane variant * blocking zellij run: wait forever mechanism * blocking zellij run: thread NotificationEnd as needed until TerminalPane (tests not compiling) * blocking zellij run: update cli * blocking zellij run: add command * blocking zellij run: finish implementation * fix tests * e2e test and close_on_exit fixes * fmt * fix e2e tests * fix plugin tests
* Feature: watcher clients (#4487)Aram Drevekenin2025-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * initial implementation * make Screen aware of watchers - slightly buggy * fix: only render focused tab to watcher * track watcher sizes on Screen * pad watcher output as needed * truncate watcher sizes as needed * render on watcher resize * fix watcher first resize * allow watchers to quit with esc, ctrl-c or ctrl-q * fix: send watcher size on initial connection message * refactor: move padding logic to output * fix watcher rendering after all clients disconnected * fix watcher rendering caching issues * crop watcher cursor when out of bounds * remove watchers cleanly on session close * standardize watcher messages ignoring * add e2e test for watcher functionality * update snapshots * add output tests * rustfmt * cleanups * docs(changelog): add PR
* Migrate from wasmtime to wasmi (#4449)Aram Drevekenin2025-10-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * initial implementation * fix stdio and host folder mounting * some memory usage optimizations * fix plugin tests * remove unused plugin cache * fix docker-compose for e2e tests when running locally * rustfmt * initial pinned executor implementation * EXPERIMENT: add jemalloc * initial dynamic pinned threadpool * cleanups and experiments * keep state on execution threads * reintroduce memory cache * add wasmi engine to executor threads * load plugins for new clients on the relevant executor thread * only show loading indication of loading for more than 0.4 secs * fix anonymous plugin loading without client id * refactor lots of stuff * update snapshots * tests for pinned executor * remove jemalloc * fix stderr from plugins * cleanups * rustfmt * cleanups * fix endless loading for additinal attachments * more cleanups * remove singlepass feature * fix displaying plugin permission message * render optimizations * always render for tests * rustfmt * optimize release build for wasmi * fixes for multiple client plugin loading * fix frame rendering for multiple clients * rustfmt * fix loading background plugins and e2e event ordering change * rustfmt * account for races in the pin_floating_panes e2e test * docs(changelog): add PR