MyGit

v0.39.0

zellij-org/zellij

版本发布时间: 2023-11-07 15:48:06

zellij-org/zellij最新发布版本:v0.40.1(2024-05-02 15:16:06)

This is a significant release with lots of major and long requested features. Here's a run down:

Session Resurrection

This version adds a built-in capability to resurrect sessions. Attaching to "exited" sessions will re-create them, placing any running commands behind a Press <ENTER> to run banner so as to prevent awkward situations with things like rm -rf. Sessions can also be resurrected through the session-manager.

Read more

Special thanks to @AlixBernard for implementing the serialization algorithm, as well as to @alekspickle for helping integrate the algorithm with our code base. Without them this feature would not have come to be.

UI Components for Plugins

This version introduces UI Components for plugins. Allowing plugins to render beautiful and consistent UI elements (eg. table, ribbon, nexted-list) no matter which programming language they were developped in. These components are serialized on the plugin-side and interpreted by our ANSI interpreter using a private DCS.

Read more

Load Plugins from the Web

This release introduces the http(s) prefix for plugin URLs. Meaning we would be able to load them from the web just like we load them from the HD.

A new top-level CLI command was also added to make loading plugins easier:

zellij plugin -- https://example.com/plugin.wasm # Will also work with file: and zellij: urls

Thanks @jaeheonji for designing and implementing this feature.

Renaming Sessions

It's now possible to rename the current session. This can either be done through the CLI with the new rename-session action, or through the session-manager with Ctrl r.

Start panes in-place

Sometimes, when opening new panes it can be convenient to have them open "in-place", meaning that they would replace the currently active pane and then drop back to it once they exit. This release adds this ability to zellij run and similar commands using the --in-place flag.

Wasmer 3.x upgrade

While not user facing, this is an important upgrade of our WebAssembly runtime that makes packaging easier as well as facilitating compatibility to some platforms.

Thanks @tlinford for his tremendous efforts in getting this done

New Plugin APIs

RunCommand - execute command in the background and get a response

This API allows plugins to run a command on the host machine. The command will run in the background and the plugin will be notified with an Event when the command has completed, receiving its exit code, STDIN and STDOUT.

WebRequest - execute an http(s) request in the background and get a response

This API allows plugins to make a web request and receive its output. The request will run in the background and the plugin will receive an Event with the response once the request is complete.

Add <ESC> - Drop to shell to command panes

For a while now, Zellij has had the concept of "command panes" - panes that run a specific command as part of the UI. Now, in addition to being able to re-run the command with ENTER and close the pane with Ctrl c, it's also possible to drop to a shell with <ESC>. This can be especially useful when combined with the session resurrection feature (eg. if one does not want to run the resurrected command but does not want to close the pane either).

Support Styled Underlines

Zellij now supports the "styled underlines" ANSI extension.

Thanks @eatgrass and @mike-lloyd03 for the implementation

Open new Plugins to current CWD

Starting this release, plugins are opened to the working folder of the currently focused terminal pane (if available), rather than the folder in which the Zellij session was started.

All changes

New Contributors

Full Changelog: https://github.com/zellij-org/zellij/compare/v0.38.2...v0.39.0

相关地址:原始地址 下载(tar) 下载(zip)

1、 zellij-aarch64-apple-darwin.sha256sum 73B

2、 zellij-aarch64-apple-darwin.tar.gz 8.21MB

3、 zellij-aarch64-unknown-linux-musl.sha256sum 73B

4、 zellij-aarch64-unknown-linux-musl.tar.gz 9.98MB

5、 zellij-x86_64-apple-darwin.sha256sum 73B

6、 zellij-x86_64-apple-darwin.tar.gz 8.67MB

7、 zellij-x86_64-unknown-linux-musl.sha256sum 73B

8、 zellij-x86_64-unknown-linux-musl.tar.gz 10.98MB

查看:2023-11-07发行的版本