Please answer [e]xit or [c]ontinue Pacman spam

Whenever I run an update or install something with Pacman it’s spamming

Please answer [e]xit or [c]ontinue
Please answer [e]xit or [c]ontinue
Please answer [e]xit or [c]ontinue
Please answer [e]xit or [c]ontinue
Please answer [e]xit or [c]ontinue
Please answer [e]xit or [c]ontinue
Please answer [e]xit or [c]ontinue
Please answer [e]xit or [c]ontinue

into the console and I have to press C^ to force it to quit doing that every time. I don’t know what keeps causing this or how to get rid of this annoying message from spamming the console. Because as soon as it starts spamming that, the entire history log of where it starts just disappears since it’s spamming at a stupidly fast rate with over 1000 lines.

If you’re going to have this message appear to someone, maybe don’t spam it forever? display once, wait for input, then resume when input’s received.

You say pacman but you placed this in the AUR category …
Do you mean pamac ?

Please provide more of the output.

If you cannot … then please either find it in the log at /var/log/pacman.log or try

sudo pacman -Syu | tee | curl -F 'file=@-' https://0x0.st

Or if you did mean pamac then

pamac update | tee | curl -F 'file=@-' https://0x0.st

This looks like a prompt provided by pamac.

This may be caused when trying to rebuild a custom build script stored in AUR.

You may find it better to use pacman - and when sync has completed successfully - update your custom builds.

sudo pacman -Syu
pamac update --aur