Under Arch Linux, with Sway (v1.7) and lbonn's fork of Rofi (v1.7.5), pressing the up/down arrows doesn't do anything, and all I see is the "Bluetooth:" prompt twice (three times if I type some random characters in the prompt).
When I use the script under i3 (also with lbonn's fork of Rofi), it works as expected:
Under Arch Linux, with Sway (v1.7) and lbonn's fork of Rofi (v1.7.5), pressing the up/down arrows doesn't do anything, and all I see is the "Bluetooth:" prompt twice (three times if I type some random characters in the prompt).
When I use the script under i3 (also with lbonn's fork of Rofi), it works as expected:
https://user-images.githubusercontent.com/10419911/197335717-e335541c-9dfa-40ce-9a44-95ba22e29762.mp4
And this is how it looks under Sway:
https://user-images.githubusercontent.com/10419911/197336135-da9a1888-b0cc-4948-9593-dac5ffeed663.mp4
I've also tried this fork of Rofi with other custom scripts, and I don't have this problem with them under Sway.