viu
viu copied to clipboard
Does not work with xargs
I would like to use the viu in a scrip but I find viu does not work with xargs e.g
echo 'myimage_name.jpg' | xargs viu
I got an error of
thread 'main' has overflowed its stack fatal runtime error: stack overflow
Is there an argument required?
Hi! What environment does that happen in? I cannot reproduce it locally (tried Kitty with & without tmux)
I thought it is very easy to reproduce.
- OS: MacOS 10.15.7
- Shell: zsh (seems also reproduce in fish)
- Terminal: Kitty (b570dfcd, and the master build today), both have the same issue. I also test Terminal shipped with MacOS it works fine. Alacritty works fine.
So, it seems only happen with kitty with latest version.
I happened to have a Mac 10.15.7 lying around (no, really), and tried to reproduce it but still to no avail....
Does it happen with every image? Can you viu
the image if you pass it as an argument?
if I run viu image_name.jpg
, it works fine in kitty.