Adding one more case to rofi-prompt
In rofi-prompt, for the cases
case "$chosen" in
"$yes") exit 0 ;;
"$no") exit 1 ;;
esac
add this
*) exit 1 ;;
Right now, for example, when user chooses reboot in rofi-power and the prompt appears and pressing <esc>
reboots.