multitask: Plugin starts very slow and do nothing
I really like the idea of this plugin, but I’ve encountered some issues when using it. The plugin takes a very long time to start (about two minutes) and the entered commands don’t execute.
Here are the reproduction steps:
- I execute the command
zellij action start-or-reload-plugin file:$HOME/zellij-plugins/multitask.wasm --configuration "shell=$SHELL,ccwd=`pwd`"
- A floating panel immediately opens, but it doesn’t respond to interaction or keyboard input (including zellij shortcuts) for about two minutes. During this time, one of my CPU cores reaches 100% usage (the zellij process).
- After 2 minutes, nano opens in this panel where I enter the example code:
#!/usr/bin/zsh
#
# Hi there! Anything below these lines will be executed on save.
# One command per line.
# Place empty lines between steps that should run in parallel.
# Enjoy!
echo "I will be run first"
echo "I will be run simultaneously to the line above" && sleep 2
echo "I will be run 2 seconds later"
echo "so will I!"
- I exit nano with saving
- A file
~/.multitaskwas created with the content from step 3, however execution didn’t occur - I just see an empty terminal window.
Env
zellij 0.42.1
miltitask 0.42.1
EDITOR=/usr/bin/nano
zsh 5.9
Fedora Linux 41 x86_64
Linux 6.13.7-200.fc41.x86_64
terminal foot
foot version: 1.20.2 -pgo +ime +graphemes +toplevel-icon -assertions
Hardware
Framework 17,
CPU AMD Ryzen 9 7940HS (16) @ 5.26 GHz
RAM 27.20 GiB
Note - this is First and only zelliji plugin I have installed
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 24 (13 by maintainers)
Sure, thank you very much!
Wow, it works perfect! Not problems to switch between tabs now!
@leakec thank you for response! I try run it in empty
~/tmpdir - nothing changes, it still have very slow initial load. Idk it related or not, but I am on btrfs filesystemwill try refactor branch