Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ authors = ["{{authors}}"]
edition = "2018"

[dependencies]
zellij-tile = "1.0.0"
zellij-tile = "0.34.4"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ cargo install zellij
# Building the plugin
cargo build
# Running in Zellij
zellij -l plugin.yaml
zellij -l plugin.kdl
```
12 changes: 12 additions & 0 deletions plugin.kdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
layout {
pane borderless=true size=1 {
plugin location="zellij:tab-bar"
}
pane {
plugin location="file:./target/wasm32-wasi/debug/{{project-name}}.wasm"
}
pane borderless=true size=2 {
plugin location="zellij:status-bar"
}
}

26 changes: 0 additions & 26 deletions plugin.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ register_plugin!(State);
impl ZellijPlugin for State {
fn load(&mut self) {}

fn update(&mut self, event: Event) {}
fn update(&mut self, event: Event) -> bool { true }

fn render(&mut self, rows: usize, cols: usize) {}
}