Crate zellij_tile

Source
Expand description

The zellij-tile crate acts as the Rust API for developing plugins for Zellij.

To read more about Zellij plugins: https://zellij.dev/documentation/plugins

§Interesting things in this libary:

§Full Example and Development Environment

For a working plugin example as well as a development environment, please see: https://github.com/zellij-org/rust-plugin-example

Modules§

Macros§

Constants§

Traits§

  • This trait should be implemented - once per plugin - on a struct (normally representing the plugin state). This struct should then be registered with the register_plugin! macro.
  • This trait is used to create workers. Workers can be used by plugins to run longer running background tasks without blocking their own rendering (eg. and showing some sort of loading indication in part of the UI as needed while waiting for the task to complete).