OmarCastro / rofi-blocks

A Rofi modi that allows controlling rofi content throug communication with an external program
GNU General Public License v3.0
107 stars 9 forks source link

change `active entry` to newly added line #31

Closed ghost closed 2 months ago

ghost commented 2 years ago

hi thanks for your amazing work. this does not work:

echo '{ "lines": [ "one","two","three" ], "active entry": 2}'

but this does

echo '{ "lines": [ "one","two","three" ]}'
sleep 0.3
echo '{ "lines": [ "one","two","three" ], "active entry": 2}'

i'm guessing it can't change active entry to a line that's being added.

OmarCastro commented 2 months ago

Hello, I create a test validating this issue here: https://omarcastro.github.io/rofi-blocks/test-report#ui-test--active-entry-should-work-on-first-paint

Now I am going to fix this...

OmarCastro commented 2 months ago

Fix applied, going to close this issue, if it did not fix the problem, feel free to reopen this issue