aborting pacman-keys exits app
I have tried all sorts of things but no matter what. When you hit Ctrl+C during pacman-keys, the installer will exit altogether.
I've tried loops here and there, wrapping those command in a separate function. Doesn't work.
At the same time, during pacman -Syy it's no problem. So it looks like pacman-keys is sending a bad message back to our program.
The only thing that sort of works is sending the wrapper function to the background with packeys &
or whatever. The problem with that is that console output during pacman-keys gets completely messed up. You can however cancel that process with Ctrl+C