Closed x41lakazam closed 4 years ago
Thx for your help but when you use it on lf the terminal blink a lot and you can't use it ( reload again and again )
Hi, It's weird,
if [ $2 -ne `cat $LAST_PIC_FILE` ] ; then
echo $2 > $LAST_PIC_FILE
lf -remote "send reload"
fi
This block is supposed to store the name of the picture so it doesn't reload it twice, let me check.
Here you are. The workaround was actually much simpler than that, It blinked because I put it outside of the "draw" case. Sorry.
Thx a lot for your help but with your last modification the terminal keep blink but only when i display image. CPU 100% but this don't work sorry
When lf restart he "draw" again so he restart and he drow again and again and again
Seems that your pull request isn't solving the problem, so unfortunately I will have to close this pull request.
I just used the 'lf -remote' command to reload it automatically. I added a protection so it doesn't reload the same file thousands times.