News for hackers. Stuff that matters.
Re:Zellij New WASM Plugin System by renewiltord on Tuesday June 27, 2023 @02:37PM (#36496927)
It looks pretty cool. Is there a plugin that is just "convert this program into a plugin"? i.e. say I'm doing some networking set up and I want to check whether what I'm doing is improving or reducing effective performance. I would like:

1. One pane with my UDP benchmark between two of my machines

2. One pane with my UDP benchmark between two other machines

3. One pane which is a normal terminal where I'm going to make my changes

So what I'd do is make my changes in normal terminal, then switch over to #1 and hit Enter and it runs, then switch over to #2 and it runs. I don't want to write a specific plugin for my UDP benchmark tool. I want a plugin that takes a pre-baked command (with flags and arguments) and turns it into a pane that I can just switch to and hit Enter.

Honestly, I currently use a tiling terminal emulator (iTerm2) and it's not bad, but I have to hit Up+Enter and then that's overlapping with the history of whatever shell is on that machine.

Re:Zellij New WASM Plugin System by imsnif on Tuesday June 27, 2023 @02:52PM (#36497135)
Hi, Zellij has this feature. Please check out command panes: https://zellij.dev/documentation/zellij-run.html

You can either open them through the cli with "zellij run -- <your command>" when inside a zellij session, or set them up in a layout so it opens all of the ones you want in a new tab arranged the way you like.

Re:Zellij New WASM Plugin System by renewiltord on Tuesday June 27, 2023 @03:05PM (#36497301)
Absolutely perfect, mate. Thank you.
Re:Zellij New WASM Plugin System by imsnif on Tuesday June 27, 2023 @03:10PM (#36497345)
Sure thing! Btw, plugins can also open these command panes, this is how the multitask "mini-ci" plugin works.