Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Jan 27, 2025
1 parent ce9f585 commit 29ae5fc
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/docs/plugins.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: 'Plugins'
language: 'en'
---

Rio can support any plugin written in WASM or Lua directly.

Plugins works in Rio based on events. Let's say you would like to create an [ChatGPT](https://openai.com/index/chatgpt/) or any AI plugin that would integrate with Rio terminal.

In the plugin you can specify how it would work, let's write one in Rust:

```rs


```

- `on_keyup()`
- `on_keydown()`
- `on_render()`
- `request_render()`
- `append_element()`

0 comments on commit 29ae5fc

Please sign in to comment.